• I’m looking for a way to take the default “Enter a Location” in the text input / address autocomplete field, and replace it with some other text of my choosing. I was able to do this by setting the placeholder attribute of the input element as below:

    <label> [text* propertyAddress placeholder “Street Address”] </label>

    The challenge is when I define a placeholder value, Chrome’s Autofill covers up the Maps / Places Autocomplete. I have tried experimenting with autcomplete:off to see if this would stop chrome’s autofill suggestions but that doesn’t seem to work either – my autcomplete textbox disappears completely instead! If I remove my placeholder text and go with google’s default suggestion of “Enter a location”, then my address autcomplete text box appears correctly in that no chrome autofill suggestions pop up….I am able to see the maps / places autcomplete suggestions correctly.

    Has anyone been able to resolve this issue?

Viewing 1 replies (of 1 total)
  • Which part are you thinking is WordPress?

    Maybe the people that use whatever plugin that is can help if you ask at the plugin’s support forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Change default text “Enter a Location” In Google Places API’ is closed to new replies.