Where would you now call autocomplete.unbindAll() (also?) Call input.parentNode.removeChild(input) ? This, in essence, is what happens in the excellent answer to What is the right way to completely remove GoogleMaps autocomplete?
However, unlike this question, you are complaining about "several drop-down boxes."
It seems that your real problem is that you call new google.maps.places.Autocomplete(...) more than once, against different input nodes. Can't you avoid this? Where you create a new node, just drag the โinitializedโ node to the place in the document where you want to use it using the JS DOM API. Hide it if you want it to disappear temporarily.
It seems a bit trickier if you use the binding framework, but you should get this new Autocomplete from what it does. Somehow.
source share