UseFormClearErrors
Clear the entire form errors.
@example
Clear all errors
clearErrors(); // clear the entire form error
clearErrors(["name", "name1"]) // clear an array of fields' error
clearErrors("name2"); // clear a single field error
Clear the entire form errors.
Clear all errors
clearErrors(); // clear the entire form error
clearErrors(["name", "name1"]) // clear an array of fields' error
clearErrors("name2"); // clear a single field error