Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Control accountUserProfile renders phone mask only in Brazilian standard
Control accountUserProfile renders phone mask only in Brazilian standard
ID:
Backlog
Published on 8/15/2017
Last update on 12/22/2022

Summary

The accountUserProfile control (viewPart) is rendering the phone mask only for the Brazilian standard: (99) 9999-99999. Countries that have other standards can not use the control without applying a customization (JS) over this field.

Simulation

To simulate this scenario:

  1. Set the "accountUserProfile" control on the template used by the "account" layout;
  2. Access the page (/account) and confirm that the mask applied to the phone fields is in the Brazilian format.

Workaround

To work around this scenario, use JS customizations to change the mask as needed. Also make adaptations with JS to give values to the phone fields, since with the change of the mask the field may become empty (even with the "value" property filled).

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback