#.ishkanan
1 messages ยท Page 1 of 1 (latest)
๐ How can I help?
Hi! We're using the Address Element for auto-complete. We saw in the JS Docs that there is a way to force "phone" to always be provided. We were wondering if there was a way to force "city" or any of the address fields?
Since Address Element is to collect address, address fields will always be required to fill up
That's not the behaviour we observed. For Hong Kong addresses, it does not enforce "District" which maps to "city" field.
By default, the Address Element will collect all the necessary information needed for an address of a country. Not all fields will be required given the country
I'm afraid Address Element doesn't support forcing the address fields to be collected all the time. It only supports phone field
That's what we thought ๐ No problem, thank you for confirming!