Skip to content
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

Need to control the search value #104

Closed
eran7789 opened this issue Oct 11, 2018 · 1 comment
Closed

Need to control the search value #104

eran7789 opened this issue Oct 11, 2018 · 1 comment

Comments

@eran7789
Copy link
Contributor

Expected Behavior

If i can render a custom search component i would sometimes like to also control the value of the search input, for example if i want to clear it.

Actual Behavior

No value prop is passed to the search input renderer and no call to a prop is made when search value is changed unless you pass a filterFunction.

@eran7789
Copy link
Contributor Author

The search value is filtering the items correctly since we do not respond well to changes. Should add a componentWillRecieveProps lifecycle method to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants