Karthey Sundarem
asked on
Textmask Angular2 form not working -Del key not deleting everything
Hi, I am using Textmask in Angular2. Having an issue when delete key pressed. Phone US format is (923) 8888-4444
When I try to delete 1st number(that is 9). It jumps out of the bracket and not able to delete parenthesis.
http://plnkr.co/edit/E6KhR3c3bh9F2RL9FifT?p=preview
How can I delete all the numbers without any problem using 'Del' key? The code is in Plunker.
Thanks
Karthey
When I try to delete 1st number(that is 9). It jumps out of the bracket and not able to delete parenthesis.
http://plnkr.co/edit/E6KhR3c3bh9F2RL9FifT?p=preview
How can I delete all the numbers without any problem using 'Del' key? The code is in Plunker.
Thanks
Karthey
If you move your cursor to the second number you can delete all the numbers. You won't be able to delete the parenthesis as they are managed by Textmask.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.