Components
BaseFormField
Renders one field definition with the matching Base input.
components/ui/form/BaseFormField.vue
Internal part
This is an internal part of BaseFormSection. You normally use it through BaseFormSection, but it is documented so you can customise or reuse it.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
fieldrequired | FormField | — | The field definition. |
valuesrequired | FormValues | — | All the form values. |
input-idrequired | string | — | The id of the input. |
v-modelrequired | unknown | — | The value of this field. |
error-messages | string[] | — | The errors to show. |
disabled | boolean | — | Disables the input. |
readonly | boolean | — | Makes it read-only. |
Events
Name | Payload | Description |
|---|---|---|
@update:modelValue | [value: unknown] | The value changed. |
@blur | — | The input lost focus. |