ui-validate
ui-validate copied to clipboard
General-purpose validator for ngModel
I've written string validation functions which for some reason generate errors, saying that there is no property length of the argument value because it is undefined. After setting a condition...
I need to have one function that validates a field that can have multiple error types. Splitting this validator to multiple separate functions is not practical due to the amount...
When I my validation expression returns false, the invalid value is bound to the model, anyway. This isn't how any of the pre-canned or custom validators work. Why does it...
The docs state: A validator function will trigger validation on both model and input changes. Is there a way to trigger the validation through another type of event, such as...
The issue can be seen in this plunker: https://plnkr.co/edit/pbLlYkCVTSo1HV8KiXB2?p=preview
I'm using a directive for an input text control where i have the following two methods inside controller function. The first time i paste some text in the text box...