MeldUI

Form

Form components with vee-validate integration for validation and error handling.

Usage

Composable

useFormField() — provides access to field error state, IDs, and name within a FormItem context.

Sub-components

FormField

Re-export of vee-validate Field. Provides field context via scoped slot.

FormFieldArray

Re-export of vee-validate FieldArray for dynamic field lists.

FormItem

Wrapper for a single form field with auto-generated IDs.

FormLabel

Label with automatic error state styling.

FormControl

Wraps the input element with ARIA attributes for accessibility.

FormDescription

Help text for the field.

FormMessage

Validation error message (auto-populated by vee-validate).