Return all errors for fields if requested in validate intent
Follow-up on https://github.com/edmundhung/conform/pull/830#issuecomment-2716353327, based on #878
Fixes #828
🦋 Changeset detected
Latest commit: b58d60c44a695eec9eae3ead7d9e905912a66353
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 4 packages
| Name | Type |
|---|---|
| @conform-to/dom | Minor |
| @conform-to/react | Minor |
| @conform-to/yup | Minor |
| @conform-to/zod | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
More templates
@conform-to/dom
npm i https://pkg.pr.new/@conform-to/dom@879
@conform-to/react
npm i https://pkg.pr.new/@conform-to/react@879
@conform-to/yup
npm i https://pkg.pr.new/@conform-to/yup@879
@conform-to/validitystate
npm i https://pkg.pr.new/@conform-to/validitystate@879
@conform-to/zod
npm i https://pkg.pr.new/@conform-to/zod@879
commit: b58d60c
Here is a StackBlitz that demonstrates the difference of the Intent with and without the new field: https://stackblitz.com/edit/4t2buwcu?file=src%2Ftodos.tsx,src%2Findex.css
Thanks for working on this! I will take a look over the weekend.
As commented in https://github.com/edmundhung/conform/pull/878#issuecomment-3166049037, you will be able to validate nested fields in v2.
Let me know if you have any questions 🙌🏼