Model Object
clearErrors()
Signature
Section titled “Signature”clearErrors() — returns void
Available in: model
Category: Error Functions
Description
Section titled “Description”Clears out all errors set on the object or only the ones set for a specific property or name.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
property | string | no | — | Specify a property name here if you want to clear all errors set on that property. |
name | string | no | — | Specify an error name here if you want to clear all errors set with that error name. |