Autofill and phoneCodes
Opened this issue · 0 comments
avradul commented
When using autofill, the very first mask from the sorted list of phoneCodes is substituted +1(242)###-####
https://jsfiddle.net/aradul/eu3x2g18/
Steps to play back:
- Enter your phone number
+7(916)000 00 00
- Submit a form to save the value
- Refresh the page
- Put the focus in the field, and bring up the autofill window
- Select a previously saved value
The result will be as follows
+1(242)___-____7____
Even if you force countrycode: '7', the very first mask from the sorted list is still substituted, without taking into account the countrycode value.