Skip to content

UseFieldOptions ​

Properties ​

showsErrors ​

Reports whether the component renders the field's own error messages beside the field. Read reactively, so it can depend on props. Defaults to true: every field component ships an inline message row, and a component that suppresses it (such as FormField with hidden) reports false so a form-level summary can report the field's errors instead. The field also reports its errors as not shown while an enclosing inline field set is collapsed, since its rows stay mounted out of sight.

Type: () => boolean

Source: client/lib/use/useField.js:219

Source ​

client/lib/use/useField.js:218