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

How to reset the search filter without a clearIcon? #53

Open
rpulkka opened this issue Mar 8, 2022 · 0 comments
Open

How to reset the search filter without a clearIcon? #53

rpulkka opened this issue Mar 8, 2022 · 0 comments

Comments

@rpulkka
Copy link

rpulkka commented Mar 8, 2022

Hi,

Thanks for the good work on the package. I was wondering if there's any way to reset the search filter, other than implementing the clearIcon. The scenario is that when a user clicks one of the filter options, they'll be directed into another screen, and if they come back to the search filter screen, the search bar should be empty and the options should not be filtered. I guess this would require a prop for resetting the filter, which is what the clearIcon is probably doing underneath, but I can't find a separate prop for that. Thanks.

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

1 participant