feat: implement ng-model-options to allowInvalid
Type: feat
Platform: all
Writing a filter that capitalice inputs, it doesn't work when it has validations, because when validation fails the model value becomes undefined.
Please do something like this https://github.com/angular/angular.js/commit/b2e146370f9c5d182f2500e637ba46edebeeb1cd
Hi. I have found an alternative solution, and easy
using "unshift" instead "push" in the line
modelCtrl.$parsers.unshift(capitalize);
of my .directive('capitalize',...
With this my directive will be executed before other directives like validations.
I don't understand what you want here. Why don't you just use ng-model-options as normal?
I am trying to set allowInvalid to true whith ng-model-options but it doesnt work in ionic.
But dont worry, As I said above I have found other solution for my feature.