angular-ui / ui-mask

Mask on an input field so the user can only type pre-determined pattern
https://htmlpreview.github.io/?https://github.com/angular-ui/ui-mask/master/demo/index.html
MIT License
391 stars 257 forks source link

[Feature Request] Support multi mask ? #190

Open trinhvanhuy opened 8 years ago

trinhvanhuy commented 8 years ago

Hello, I'm using ui-mask for my angular application I have to get the mask from the database , everything work well, accept , user want to have multi mask Ex : If they type '123NNNN;NNN456' in the database, then in the UI, they can type 123<4 numbers> or <3numbers>456 Do you have any solution for this ? Thanks in advance

ShaggyDude commented 8 years ago

Two different fields with logic to switch them?