I want to prevent the search text from disappearing after selecting an item from the filtered options in the Autocomplete component in mui autocomplete checkbox.
Tried setting the state variable for input as well.But it does not work. here is code sandbox link.enter image description here
https://codesandbox.io/s/zx49gs?file=/Demo.tsx:572-583
search text click on any option from search options, search text disappears
Aucun commentaire:
Enregistrer un commentaire