Google Places Autocomplete - Pick first result on Enter key? [duplicate]
问题 This question already has answers here : Google maps Places API V3 autocomplete - select first option on enter (17 answers) Closed last year . I'm using a Google Places Autocomplete and I simply want it to select the top item in the results list when the enter key is pressed in the form field and suggestions exist. I know this has been asked before: Google maps Places API V3 autocomplete - select first option on enter Google maps Places API V3 autocomplete - select first option on enter (and