You should keep the value of input search box populated and so the delete icon should still appears.
For example:
onSearch function I called setState with searchText,
after delete the search, then type again, the searchBox didn't display the searchText inside.
Please fix it.
You should keep the value of input search box populated and so the delete icon should still appears.
For example:
onSearch function I called setState with searchText,
after delete the search, then type again, the searchBox didn't display the searchText inside.
Please fix it.