ngMask
ngMask copied to clipboard
Using ng-model-options="{ updateOn: 'blur' }" breaks it
Using ng-model-options="{ updateOn: 'blur' }" breaks the restrictions..................
solved it by removing the controller.$isEmpty(controller.$modelValue), since when you have option on blur you may not have set the modelvalue yet, depending on other validation directives, and you always set the modelvalue in the end of the function, you could replace it with check if the viewvalue differs from 0