Skip to content

WFieldErrorIndicator

Mark Reeves edited this page Jan 3, 2018 · 4 revisions

WFieldErrorIndicator is a component for providing an error message to a user with respect to a particular UI artefact. WFieldErrorIndicator is not required for data-input fields and WFieldSet as these control their own error messaging. A historical quirk has resulted in a WFieldErrorIndicator being added to all WField components.

WFieldErrorIndicator should be placed after any contruct where validation is based on a compound of components where each individual component cannot or is not in an error state. For example it could be placed after a WTable if some aspect of input from the table is not in a valid state.

The error comprises one or more WMessages or WValidationErrors.

Related components

Further information

Clone this wiki locally