AbduzZami / open_street_map_search_and_pick

GNU General Public License v3.0
15 stars 30 forks source link

Reset search Field Value when a user clicks on it #31

Closed SphepheloMabena closed 1 week ago

SphepheloMabena commented 3 months ago

Problem : When the search bar is populated with a location value (either the user's current location or a searched location), the user must manually delete the existing text if they want to update it after clicking on the search bar.

The purpose of this PR is to reset the search bar value every time the user clicks on it

Before

https://github.com/AbduzZami/open_street_map_search_and_pick/assets/66223165/a931f12f-f989-43a4-b846-5abc96da2fef

After

https://github.com/AbduzZami/open_street_map_search_and_pick/assets/66223165/f1b469f3-0959-41db-8b0b-68718d25c746