Open ShlomoRosenheimer opened 9 years ago
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
Using ng-model-options="{ updateOn: 'blur' }" breaks the restrictions..................