Angular 6 ngx-mask plugin, multiple masks on same input field
So i use this plugin https://github.com/JsDaddy/ngx-mask to mask an input field dynamically (while user is typing). So for example if my mask only accepts 123 and they type abc nothing will happen. The problem I am having is I need two masks on the same input field so I need for example 123 and abc to both be accepted not just one or the other. Here is my code sample following the docs at the link above. <input id="main-office-phone"type="phone" minlength="10" prefix="+1 " mask="(000)-000-0000">
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.