@solidjs-final-form/arrays
v0.2.11
Published
A Solid.js integration for Final Form, providing robust form management capabilities with reactive rendering.
Downloads
17
Maintainers
Keywords
Readme
Solid final form - arrays
Solid final form is a comprehensive library that bridges the robust form management capabilities of Final Form with the reactive and efficient rendering of Solid.js. Designed specifically for Solid.js developers, this package offers an elegant and powerful solution for creating, managing, and validating forms with ease.
Quick start
Installation:
npm i @solidjs-final-form/arrays final-form-arrays
# or
yarn add @solidjs-final-form/arrays final-form-arrays
# or
pnpm add @solidjs-final-form/arrays final-form-arrays
Simple usage:
For TypeScript users:
Add directives to your global.d.ts
import { FormDirectives } from '@solidjs-final-form/core'
declare module "solid-js" {
namespace JSX {
interface Directives extends FormDirectives {}
}
}
Examples:
- Simple example
- With valibot
- Require
npm i valibot
- Require
npm i @solidjs-final-form/valibot-adapter
- Require
- With auto-focus on first error
- Require
npm i final-form-focus
- Require
- With array fields and valibot validation
- Require
npm i valibot
- Require
npm i @solidjs-final-form/valibot-adapter
- Require
npm i @solidjs-final-form/arrays
- Require