It is currently 21 April 2025, 8:52 Advanced search

Google Place Autocomplete Widget Suggestions Items not click

Questions and answers on how to best use Instant Developer

Google Place Autocomplete Widget Suggestions Items not click

Postby phayllos » 14 July 2024, 13:41

Hi, based on what is reported on https://developers.google.com/maps/docu ... mplete-new I replicated the code to open the maps, along with an input for autocomplete, in a Bootstrap 5 modal window.

Everything works correctly, but if I try to click on an item from the suggestions dropdown with the mouse, the location is not selected. Everything works if I instead select the location with the key down and then press enter.

I am posting the code on jsfiddle which can help better understand the issue:https://jsfiddle.net/phayllos/zf6ged7v/9/

Thank you in advance.
phayllos
 
Posts: 1
Joined: 14 July 2024, 13:39

Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 16 guests