FieldMessage
Overview
Displays field messages (errors or warnings) from a slot or an array of strings, arrays of strings (e.g. multiple server messages under one error code), or objects with a message property, deduplicating and rendering a list when multiple messages are present.
Theme entry: FieldMessage
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| messages | array | undefined | One or more message strings, arrays of message strings, or objects with a message property to display beneath the field. | |
| severity | string | "error" | Controls color and ARIA role. |
Slots
default
Slot.
Source
client/lib/shell/field/FieldMessage.vue