Closed jaggaer-epastoor closed 2 days ago
This is working as intended.
By default nationalMode is enabled, which means we format the number in national format, which is "8 0152 45-09-11". If, for some reason you want to show the number in international format, you can set nationalMode to false.
The number +375152450911 in national mode happens to match the placeholder text 8 0152 45-09-11. Makes sense. Thank you. I'll turn nationalMode off
👍🏻
Btw the placeholder number for that country is very similar, but not the same.
Placeholder: "8 029 491-19-11" Your number: "8 0152 45-09-11"
Plugin version
v24.5.0
Steps to reproduce
Expected behaviour
Actual number should be displayed
Actual behaviour
Placeholder value is displayed but in the inspector the 'value' attribute is correct When form is submitted, the real value is submitted and not the placeholder value
Initialisation options
formatOnDisplay = true (default); however, turning this off fixes the value or: separateDialCode = true also fixes the issue