Problem
When entering space ( ) in search input, the app shows empty search result
Wanted
in other cases (language/feedback), trim the input to prevent empty result, the search screen should do the same
When entering space ( ) in search input, the app shows empty search result
in other cases (language/feedback), trim the input to prevent empty result, the search screen should do the same
this task just fixed the "stop searching with just a space in the text box" issue.
right now it's still possible to search by adding spaces after the first word, even if no other character besides a space is added
no search API call is made and no loading animation appears
every time I add another space, another api call is made and another loading animation appears