ngx-google-places-autocomplete icon indicating copy to clipboard operation
ngx-google-places-autocomplete copied to clipboard

How to use option code

Open harshitraghav opened this issue 6 years ago • 3 comments

I'm working in Angular7 and I have three input fields one for the city name, one for a venue and one for the address of the venue selected. Can you help me with how to use options here to get the desired output. The second option is straightforward but I need help for the first and the third input.

harshitraghav avatar Dec 10 '18 17:12 harshitraghav

Hi @harshitraghav ,

Can you show an example? Do you have a UI with 4 input boxes, one of them is google places autocomplete, and when a client selects a value in google places autocomplete you should parse the result into 3 different boxes?

Thanks, Stas

skynet2 avatar Dec 11 '18 20:12 skynet2

Sorry I can't show you the design but yeah there are three different input boxes, all three with google places autocomplete and I want to apply different filters on them. For the first one, I only want to show cities when the user starts typing. For the second one, the user selects the venue and address of that value is to be shown in the third input box. So basically: First box: City Second box: Venue Third box: Address of the venue

harshitraghav avatar Dec 13 '18 12:12 harshitraghav

Can anyone help?

harshitraghav avatar Dec 17 '18 17:12 harshitraghav