Hi all, anyone using re-com? If so, any suggestions on getting a typeahead focusing upon creation? I see in the source there is a TODO to add focus management like this. Any ideas much appreciated.
You should use React refs for that.
Have you tried using a form-3 component with :component-did-mount
?
I.e. wrap the typeahead component into some other component that uses reagent.core/create-class
, and in its :component-did-mount
handler focus the typeahead component.