ui-mask
ui-mask copied to clipboard
Mask on an input field so the user can only type pre-determined pattern
Broaden the scope of https://github.com/angular-ui/ui-mask/pull/170 Generally it is considered safe to do the following: ``` js $timeout(() => { $scope.$apply(() => { if (!controller.$pristine) { controller.$setViewValue(''); } }); }, 0,...
Hello there! First of all thank you for this component, but i have a small issue. If this is the mask: 40-999-999-999 Everything is fine. It has to start with...
We have the same problem: > The problem it's cause by predictive text of the Samsung. I changed the keyboard for Google and disable predictive text function and both worked....
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...
http://stackoverflow.com/questions/25043934/is-it-ok-to-ignore-keydown-events-with-keycode-229/25509350 Input has placeholder and mask +0 999 999 99 99. On android device (nexus 7 android 6) if press backspace then catch event with key code 229, not 8.
Pasting into fields with a mask now puts the cursor into the correct place. The issue: if there is a field like this `` and you paste `26091987` into it...
Please switch from `.bind()`/`.unbind()` to `.on()`/`.off()`. The former are deprecated as of jQuery 3.0 and we plan to deprecate them in Angular's jqLite in 1.6 as well. `.on()`/`.off()` has been...
See: https://codepen.io/mgol/pen/GjKqka The main cause of the bug is the line at https://github.com/angular-ui/ui-mask/blob/1.8.7/src/mask.js#L341: ``` js if (angular.isDefined(placeholder) && placeholder[i]) { ``` `angular.isDefined(null)` is true and Angular Material makes `placeholder` be...
Hi, I'm trying to use ngMask library to format time it could be 24hrs fromat. The format that I'm currently using is: mask="29:59" This mask has an issue that is...