FieldWarningsList
Overview
Renders a warnings mapping keyed by field (the shape both get_warnings() and get_transition_warnings() return for a single object: {field: [messages]}, with non_field_errors for messages not tied to a field). non_field_errors renders first as a plain, unlabeled list; every other field renders inline (field: message) when it carries exactly one message, or as its own sub-header plus list when it carries more.
The entry slot overrides one field's entire layout (the header/list/inline decision included).
Theme entry: FieldWarningsList
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. | |
| messages | object | yes | Warnings keyed by field, non_field_errors for messages not tied to a field. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes applied to the root. |
Slots
| Name | Scoped | Description |
|---|---|---|
entry | yes | Override one field's entire layout. Receives field and messages (always an array). Falls back to the header/list/inline layout below. |
Source
client/lib/form/confirm/FieldWarningsList.vue