Menu
Feedback
Known issues
Control accountUserProfile renders phone mask only in Brazilian standard
Marketing & Merchandising
ID:
Backlog
Published on8/15/2017
Last updated on12/22/2022
1 min read

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
Was this helpful?
Yes
No
Suggest Edits (GitHub)
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 VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback