Closed Rahulgarg30591 closed 1 year ago
Same!
@Rahulgarg30591 @rserafim Did you try with the lastest version?
I can see that onSearch
is triggered also when the last character is removed. Check this codesandbox.
Since the thread is fairly old I'll close it for now. Feel free to re-open if you have something to add.
Unable to trigger an event in a case when the Search String is all empty as the onSearch event is not triggering on the removal of the last character.
Similar to: https://github.com/sickdyd/react-search-autocomplete/issues/17#issuecomment-831743898
I need to verify whether the textbox is empty or not as part of validation.
Thank you,