reset
function in module validity
reset(form);
reset(form);
Resets the validation state of a form
Parameters
Param | Type | Details |
---|---|---|
form | object | The form to reset |
Returns
validity
- the validity module (for chaining)
Usage
Call from within a controller:
controller("ExampleCtrl", ["validity", function (validity) {
validity.reset(/* form */);
}]);
Updated less than a minute ago