whoah
whoah

Reputation: 4443

GooglePlaces autocomplete - more than one input

I'm using autocomplete API Google. I want to have 3 inputs:

Is there any possibility to implement this 3 inputs on the same page with autocomplete for each? with one, everything works perfectly. But with more than one, code doesn't work properly (without any errors). Is there any restrictions?

Upvotes: 0

Views: 305

Answers (1)

lenik
lenik

Reputation: 23556

please, use one input (who can input data into 3 inputs at the same time, anyway?), and when you get the full autocompleted result, split the result into separate (uneditable) fields.

Upvotes: 1

Related Questions