When an area code is formatted with parentheses, it is unable to be deleted by pressing backspace.
To reproduce:
Enter a mobile number such as +1 416 555 5555
Attempt to delete the number by pressing backspace
Unable to delete the area code, so the text input is stuck at (416).
This is happening because the number is parsed and formatted whenever the text field changes, so the parsing/formatting instantly re-adds back a deleted parentheses.
When an area code is formatted with parentheses, it is unable to be deleted by pressing backspace.
To reproduce:
(416)
.This is happening because the number is parsed and formatted whenever the text field changes, so the parsing/formatting instantly re-adds back a deleted parentheses.