AppForm

A schema-driven form: layout, validation and field rendering. Use v-model + a Zod schema, or a FormModel from src/lib for errors by path, touched state, server errors and submit state. A failed submit moves focus to the first invalid field, and errors clear as the user fixes them.

Install: pnpm add-component Fields/AppForm

User profile

A multi-row form for collecting personal information.

Contact & location

Using specialized inputs like Phone and Select.

Account security

Password fields and authentication layout.

Event details

Date selection and specialized inputs.

Resource upload

Handling single and multiple file uploads with live status and removal.

Validation with a FormModel

Submit it empty: errors appear and focus moves to the first invalid field; they clear as you fix them. taken@example.com comes back with a server error on the email field.

API