-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset or change Typeahead Value. #143
Comments
👍 |
You can force the state of the Typeahead:
|
👍 |
nice. Would be worth mentioning in the readme |
I went with replacing this method with a one-line change so that it definitely always pays attention to value when value is reset:
You can do this with refs in the component including the typeahead. Somewhere in render():
Then in componentDidMount():
|
Note that in the source code it says that entryValue should change name in the future and your code will explode 💣 |
Is there any callback where i can change the Input value of Typeahead?
Case: These is a search bar and a reset button. I want to reset the value of search bar on clicking reset button. So how can i approach this case.
The text was updated successfully, but these errors were encountered: