You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have using two search input on same page and i want to reset both input on a single reset button click. So i am trying to assign empty state to search input using value prop. Is there any other solution available ? Please Help
Thank you
The text was updated successfully, but these errors were encountered:
If you're getting this error because you're still using the hacky workaround of setting value and then clearing it when the clearIcon is pressed, then try using the defaultValue prop instead of value.
For me, i fix it with this way
Go to your node-modules/react-native-search-filter/src/index.js
Comment function getDerrivedStateFromProps
because when i console.log the value, it value all undefined although i pass a value as props , so const e is undefined
I have using two search input on same page and i want to reset both input on a single reset button click. So i am trying to assign empty state to search input using value prop. Is there any other solution available ? Please Help
Thank you
The text was updated successfully, but these errors were encountered: