arco design vue zod validation
npm i zod-arco-rules
import * as z from 'zod'
import { zodArcoRules } from 'zod-arco-rules'
const { rules, handleSubmit } = zodArcoRules(z.object({
name: z.string().nonempty(),
post: z.string().min(2).max(30),
isRead: z.boolean(),
}))
- [x] Valibot support
- [ ] a-form validation status
- [ ] Auto form
MIT License © 2024-PRESENT Kevin Kwong