Skip to content

Conversation

@jthrilly
Copy link
Member

@jthrilly jthrilly commented Aug 12, 2025

This PR is a second attempt at a new form system to replace the old, redux-form, based approach.

  • <Form> component, supporting async onSubmit handler
  • <Field> component, which connects any standard or custom input to the form system. When rendered within <Form /> automatically handles registering/unregistering.
  • Supports nested field names
  • <FieldSet /> component, designed for grouping <Field /> components, and conditionally rendering them.
  • useForm, useField, and useFormValue hooks to enable clean composition patterns, and features such as conditional rendering
  • Validation using zod functions
  • Accessibility support with appropriate aria properties being added by custom hooks
  • useProtocolForm custom hook, which translates a protocol form definition to a renderable list of Field components.
  • Implementation of form field variants via cva beta 1.0.0
  • Make a plan for validation functions. Zod schemas are great, but what about localisation and compatibility with existing validation?

@vercel
Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
fresco-sandbox Error Error Jan 19, 2026 8:40pm
fresco-storybook Error Error Jan 19, 2026 8:40pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
barf Ignored Ignored Jan 19, 2026 8:40pm

Request Review

@github-actions
Copy link

🎭 Playwright E2E Test Report

Tests failed. View the full report here:

👉 https://complexdatacollective.github.io/Fresco/

Report details

@github-actions
Copy link

🎭 Playwright E2E Test Report

Tests failed. View the full report here:

👉 https://complexdatacollective.github.io/Fresco/

Report details

@github-actions
Copy link

🎭 Playwright E2E Test Report

Tests failed. View the full report here:

👉 https://complexdatacollective.github.io/Fresco/

Report details

@github-actions
Copy link

🎭 Playwright E2E Test Report

Tests failed. View the full report here:

👉 https://complexdatacollective.github.io/Fresco/

Report details

@github-actions
Copy link

🎭 Playwright E2E Test Report

Tests failed. View the full report here:

👉 https://complexdatacollective.github.io/Fresco/

Report details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants