ui-mask
ui-mask copied to clipboard
Mask on an input field so the user can only type pre-determined pattern
This addresses reported issue #205 where cursor left with all text selected results in the caret being positioned one place to the right of where it should be.
If all characters in a masked field are selected and the user presses cursor left, the cursor is bumped one extra position to the right of the leftmost masked character....
Not sure if I am missing anything. Please try the following mask at the demo page: "?A9". This mask should accept either '5' or 'a5' as valid inputs.
I'm trying to add a plus/minus symbol for a time zone. I've modified the definitions in the config like this ```javascript uiMaskConfigProvider.maskDefinitions({'A': /[a-z]/, '*': /[a-zA-Z0-9\+\-\s]/}); ``` and my html looks...
Hi there, For some reason when I try to put: `` The the input field masks correctly as expected but once I enter a correct date for example 2016-12-06 00:00,...
Hi! When i put cursor after the country code and type any number, my country code number insert before typed number. Env: Ionic 1.3.1 ``` ``` Video attached. [bug1.zip](https://github.com/angular-ui/ui-mask/files/486591/bug1.zip)
Should fix #188 issue. Add timeout for fix caret position if click placeholder part before mask. Example mask: +7 (999) 999-9999 In mobile devices touch +7 caret position move to...
Hello Thanks for great control, guys! Issue is that when you place cursor in input with mask in MS Edge browser it is placed in the beginning of input. In...
Hi all, Thanks for the great control! It seems like in IE, though, clicking on the little 'x' the browser puts in `input`s doesn't make the `input` act as I...
In my case I load `angular.js` from cdn before import of the module. So main point is that you need to have additional checking to `require` the angular source.