Components

BaseFormSection

One section of a BaseForm: its title, description and the grid of fields.

components/ui/form/BaseFormSection.vue
Internal part
This is an internal part of BaseForm. You normally use it through BaseForm, but it is documented so you can customise or reuse it.

API

Props

Name
Type
Default
Description
section
required
FormSection—The section definition.
values
required
FormValues—All the form values, for visibleIf and disabled predicates.
fields
required
FormField[]—The visible fields of the section.
field-id
required
(key: string) => string—Builds the input id of each field.
variant"plain" | "card""plain"plain or card.
single-columnboolean—Ignores cols and stacks every field.
statusFormSectionStatus—The status of the section, for its header.
errorsFormErrors—The errors per field key.
disabledboolean—Disables the fields.
readonlyboolean—Makes the fields read-only.

Events

Name
Payload
Description
@update:field[key: string, value: unknown]A field changed: (key, value).
@blur:field[key: string]A field lost focus.
© 2026 melsami UI.
Developer documentation for melsami UI.