ui-mask
ui-mask copied to clipboard
Mask on an input field so the user can only type pre-determined pattern
Try to use mask `7 \9\93 999 99 99` But works with `7\9\93 999 99 99`
as `RegExp` json serialization is problematic, it's a good idea to let developer pass string representation of pattern regex. So from now the following `maskDefinitions` both work: ``` maskDefinitions =...
Greetings, thanks for the great plugin. I have some kind of feature request... Real live example: In my projects form I have field `power_capacity` which measures in liters, I have...
Hello. I know it can sound weird, but i need to use ui-mask in shadow dom. I use web components spec and i created component that wraps angular app pls...
I'm using: unique-credit-card ui-mask="9999 9999 9999 9999" ui-mask-placeholder-char="space" And after insert credit card number with Ctrl+V, caret position is 3 characters behind of end of string.
Hello. I want to inject `uiMaskConfigProvider` implicitly (using `ng-annotate`). I have an angular config function like this: ```JavaScript function config($locationProvider, $urlRouterProvider, uiMaskConfigProvider) { ... } ``` The problem is I...
Company Phone global.messages.error.max global.messages.error.min global.messages.error.phoneNumber [![it shows this][1]][1] it shows 14 chars but i did not fill anything. [![they are overlaping][2]][2] I want to show only string. But when user...
I tested it in Chrome 54.0.2840.99 and Firefox 50.0. You can use other versions. How to repeat: 1. Open [Mask HtmlPreview Page](https://htmlpreview.github.io/?https://github.com/angular-ui/ui-mask/master/demo/index.html) 2. Open **Developer Tools** 3. Add "change" event...
Doing "value || ''" is causing me issues when I set the ngModel programmatically to zero. Really need a specific check for null or undefined, I think. I'm not sure...
For instance I have the input with the mask: `1 (999) 999 99 99` When the model for the imput is `12345678900` I've got the viewValue as `1 (123) 456...