fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 232 forks source link

typeahead, value is not changed after mounting #204

Open Nagogus opened 8 years ago

Nagogus commented 8 years ago

If component mounted and property value changed it is not reflected in the input. Is it expected behaviour?

caitwood commented 8 years ago

I see this as well. I want to clear out the input text when an option is selected and it doesn't seem to update when I change the value prop.

samrispaud commented 7 years ago

@caitwood @Nagogus @fmoo i'm having the same problem. any PR or solution for this?

petrogad commented 7 years ago

Seeing same issue here. Looking to create a PR.

samrispaud commented 7 years ago

@petrogad solution for me was to switch to this fork https://github.com/HubSpot/react-typeahead which is maintained more readily. the fix for this problem is in there

petrogad commented 7 years ago

Awesome, thanks for the info; I also took a look at https://github.com/moroshko/react-autosuggest that seemed to have an extremely active community w/ mobile support.