react-native-element-dropdown
react-native-element-dropdown copied to clipboard
Persist search query in search bar
I am using your dropdown library in my React Native app, which includes a search bar. When I select an item from the dropdown, the dropdown closes as expected. However, when I reopen the dropdown, the search query in the search bar is reset. I would like the search query to persist when reopening the dropdown.
Steps to Reproduce:
- Open the dropdown.
- Enter a search query in the search bar.
- Select an item from the dropdown (dropdown closes).
- Reopen the dropdown.
Expected Behavior: When the dropdown is reopened, the search query should remain in the search bar.
Actual Behavior: When the dropdown is reopened, the search query is cleared from the search bar.
Any advice on how to achieve this behavior?