Hi,

There are some undocumented restrictions and issues regarding the 
autocomplete feature in the places library.

Styling:
How to provide class styling to the input fields? This is because the 
autocomplete code gives the input fields new class name: 
"pac-input-default". So, if the input had an initial class this is thrown 
away. What are some best practices to style such autocomplete-input-fields?

Hidden text input fields:
If a text input fields is hidden: (the input is in a div that has the 
"display: none" style), the autocomplete code does not work anymore. If you 
look into the debug console you see that all the classes and elements are 
added but the completion proposals don't show up anymore.

Focus issues:
And one more question. How can one get rid of the default text/change the 
default text: "Enter a location". This raises a problem is the focus is 
moved in the input field from code with jQuery. The default text is not 
deleted.

Regards.
Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/SnpHUWpCbGZDT0FK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to