$validate();
Runs each of the registered validators (first synchronous validators and then asynchronous validators). If the validity changes to invalid, the model will be set to undefined
, unless ngModelOptions.allowInvalid
is true
. If the validity changes to valid, it will set the model to the last available valid $modelValue
, i.e. either the last parsed value or the last value set from the scope.
Please login to continue.