Skip to content

FormMessage ​

Overview ​

Renders form-scope non-field validation feedback as a single Alert. When multiple messages are present, they are rendered as a list inside one Alert rather than as a stack of separate alerts.

Theme entry: FormMessage

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
typestring"error"Whether to render errors ("error") or warnings ("message").

Slots ​

default ​

Scoped slot.

Bindings ​

NameDescription
message

Source ​

client/lib/form/form-model/FormMessage.vue