Newer Version Available
ui:validationError
To set a handler for the ui:validationError event, use the onError system attribute on a component that extends ui:input, such as ui:inputNumber.
The following ui:inputNumber component
handles an error when the ui:button component
is pressed. You can fire and handle these events in a client-side
controller.
For
more information, see Validating Fields.
| Attribute Name | Type | Description |
|---|---|---|
| errors | Object[] | An array of error messages |