Same autocomplete input but more than once on a single page

I’m setting up the autocomplete places feature on my site and i’m running into a problem when having more than one input on the page. The issue i’m having is that the autocomplete is only getting the first element matching the ID. I’ve tried changing the IDs to class names instead but then none of them have the autocomplete feaute. I’ve spent forever looking but I just can’t figure out what I need to do. Any help appreciated.

Hi @nj97, would it be possible to create a codesandbox using one of our starter templates so that we can help troubleshoot?