amarkes / br-masker-ionic-3

mascara para inputs
MIT License
110 stars 32 forks source link

How to create custome mask with number and character? #52

Open parthnayak7448 opened 6 years ago

parthnayak7448 commented 6 years ago

I want to create the mask for an example like: - '123-AAA-34' how can I set up mask attribute values for the particular mask? Thanks in advance

amarkes commented 6 years ago

[brmasker]="{mask:'000-000-00', len:10, type:'alfa'

parthnayak7448 commented 6 years ago

Thanks for the reply but as I have mentioned I want first 3 only digits next 3 only character and last 2 only digits. how can I create this scenario? because as per your answer, I have tried but it takes first 3 characters only. I want to put the only digit can enter in first 3

amarkes commented 6 years ago

nor of

parthnayak7448 commented 6 years ago

Any help?

amarkes commented 6 years ago

unfortunately can not do it, it may be that in the future we think of doing something like this