address-form
address-form copied to clipboard
Avoid optional field at my account for Postal Code
What is the purpose of this pull request?
When adding a new address inside my account the user is presented today with a field that is mandatory but the interface point it as optional. Example:
After Change:
What problem is this solving?
This makes the interface more precise and therefore more user-friendly for users.
How should this be manually tested?
Test it here: https://optionaladdress--dunnesstorespreprod.myvtex.com/
Its important not to test in master because in master you have a css currently at the theme to hide the optional text. This was removed at this beta so we can avoid this and have the right native behavior already at the address form:
[email protected]
This version is already installed at the workspace provided.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Requires change to documentation, which has been updated accordingly.