Back
clearErrors()
Clears out all errors set on the object or only the ones set for a specific property or name.
// Clear all errors on the object as a whole
this.clearErrors();
// Clear all errors on `firstName`
this.clearErrors("firstName");
Copied!