Input fields should be also customizable as well as displaying format of address.
For proposed solutions and matter of considerations in terms of Address localization, please refer LPS-70736. The motivation and requirements behind of this story have already been documented there.
This ticket will only focus on input fields (Add / Edit) enhancement of address localization.
- Provide developers with an API to format an address with specified layout rules for input fields of Address. The AdressFormatter idea for formatting could be applied for this feature. For consistency of user experience and development efficiency, switching formatting / layout should be managed by same manner.
- Select field of country may need to be placed on the top of address fields from UX standpoint instead of bottom because of following reasons.
- AdressFormatter for formatting is designed to determin layout / format based on country's value. So I assume AdressFormatter thing for layout also could be triggered when a user choosing countries in the same manner.
- A user can naturally navigate to choosing country first and see that action affects changing input fields layout.