Components
BaseFormNav
The side navigation of the aside layout, with the overall progress and the state of each section.
components/ui/form/BaseFormNav.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 |
|---|---|---|---|
sectionsrequired | FormSectionStatus[] | — | The status of each section: title, icon, error, required, filled and field counts, complete and touched. BaseForm computes it for you. |
filled-countrequired | number | — | Fields filled in the whole form. |
field-countrequired | number | — | Fields in the whole form. |
active-key | string | — | The section in view. |
Events
Name | Payload | Description |
|---|---|---|
@select | [key: string] | The user picked a section; the form scrolls to it. |