Model Object
errorsOn()
Signature
Section titled “Signature”errorsOn() — returns array
Available in: model
Category: Error Functions
Description
Section titled “Description”Returns an array of all errors associated with the supplied property (and error name if passed in).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
property | string | yes | — | Specify the property name to return errors for here. |
name | string | no | — | If you want to return only errors on the property set with a specific error name you can specify it here. |