Replies: 5 comments 5 replies
-
@kacperkapusciak @WoLewicki what do you think about this? Another use case would be to clear the text input. I assume there is no way to achieve that for now? |
Beta Was this translation helpful? Give feedback.
-
In addition to |
Beta Was this translation helpful? Give feedback.
-
I made a PR #1639 for adding an optional prop for clearing the search input that runs when search button is pressed. Would like to implement for iOS as well if you'd consider this approach. |
Beta Was this translation helpful? Give feedback.
-
What would the effort be to implement a controlled input? Does UISearchController support this? |
Beta Was this translation helpful? Give feedback.
-
Hi @ha3, sorry for the late response 🙏
with this, simple do |
Beta Was this translation helpful? Give feedback.
-
Hello,
As far as I know, there is no way to programmatically focus to or blur from a search bar now. I think it would be very helpful to add this feature. For API, maybe search bar options could accept a ref prop.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions