Clearing the text in Autocomplete Search make auto complete unusable. #18169
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
new feature
New feature or request
Current Behavior 😯
I just want to clear the text field area when I hit some button or state changes. Actually I'm reading the documentation of Autocomplete API and there is no option to do that.
So what I did is every time the text field changes the props.value of auto complete changes. So I can easily set a "blank" value in state to clear the textfield area. But the problem is the auto complete search is not working it's just list all the items.
Expected Behavior 🤔
I want is to clear the text field area when I hit the button submit. Actually I'm reading the documentation of Autocomplete API and there is no option to do that.
Steps to Reproduce 🕹
The text was updated successfully, but these errors were encountered: