{"action":"closed","issue":{"url":"https://api.github.com/repos/axismaps/bcworkshop-services/issues/15","labels_url":"https://api.github.com/repos/axismaps/bcworkshop-services/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/axismaps/bcworkshop-services/issues/15/comments","events_url":"https://api.github.com/repos/axismaps/bcworkshop-services/issues/15/events","html_url":"https://github.com/axismaps/bcworkshop-services/issues/15","id":62719293,"number":15,"title":"Re-searching and/or clearing existing text in search box","user":{"login":"awoodruff","id":3533462,"avatar_url":"https://avatars.githubusercontent.com/u/3533462?v=3","gravatar_id":"","url":"https://api.github.com/users/awoodruff","html_url":"https://github.com/awoodruff","followers_url":"https://api.github.com/users/awoodruff/followers","following_url":"https://api.github.com/users/awoodruff/following{/other_user}","gists_url":"https://api.github.com/users/awoodruff/gists{/gist_id}","starred_url":"https://api.github.com/users/awoodruff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awoodruff/subscriptions","organizations_url":"https://api.github.com/users/awoodruff/orgs","repos_url":"https://api.github.com/users/awoodruff/repos","events_url":"https://api.github.com/users/awoodruff/events{/privacy}","received_events_url":"https://api.github.com/users/awoodruff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axismaps/bcworkshop-services/labels/fixed-awaiting%20merge","name":"fixed-awaiting merge","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-18T15:16:17Z","updated_at":"2015-03-20T13:25:33Z","closed_at":"2015-03-20T13:25:33Z","body":"If you search for a neighborhood and select it, and then go select a different one by clicking on the map, the first neighborhood's name remains in the search input. At that point, if you want to re-select that first one, you can go back to the search input, but the only way to make it work is to hit backspace so that the autocomplete shows up again, which is kind of awkward.\r\n\r\nNot sure what the best answer is, but a few ideas are:\r\n1. Show the autocomplete dropdown once the text input receives focus\r\n2. Clear the text input if you select a different neighborhood on the map, forcing the user to re-type the first one if they want to go back to it, but at least the action would be fairly clear.\r\n3. Have the Enter key select the neighborhood, if the value in the text input is an exact match (as it would be in the scenario described above)"}}