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:
- Set the "accountUserProfile" control on the template used by the "account" layout;
- 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).