DEV Community

Discussion on: HTML autocomplete value for "city"

Collapse
meetdave3 profile image
Meet Dave Author

As far as I see, using the address-level(n) may turn out to be complex as it varies from country to country. Quoting on the MDN docs here, developer.mozilla.org/en-US/docs/W.... if you see the section for United Kingdom, the town / city corresponds to address_level1 :)