Complete react-hook-form integration with useNkForm hook and @nkapp/lib fields
Dynamic Forms Showcase
react-hook-form + zod
Form State Telemetry
Dirty Status (Modified):
Pristine
Validation Status:
Invalid
Active Errors:
0 active
Deployment Output JSON
Ready for Submission
Configure the parameters and hit "Run Deployment" to view the parsed Zod payload.
Integrating `@nkapp/lib` Form Hooks
The custom hook useNkForm automatically configures a robust React Hook Form controller combined with a zodResolver for type safety and runtime constraints.
typescript
const schema = z.object({serviceName: z.string().min(3)});const { control, handleSubmit } = useNkForm({schema,defaultValues: { serviceName: '' }});