conform icon indicating copy to clipboard operation
conform copied to clipboard

Return all errors for fields if requested in validate intent

Open oxc opened this issue 11 months ago • 4 comments

Follow-up on https://github.com/edmundhung/conform/pull/830#issuecomment-2716353327, based on #878

Fixes #828

oxc avatar Mar 12 '25 04:03 oxc

🦋 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

changeset-bot[bot] avatar Mar 12 '25 04:03 changeset-bot[bot]

Open in Stackblitz

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

pkg-pr-new[bot] avatar Mar 12 '25 04:03 pkg-pr-new[bot]

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

oxc avatar Mar 12 '25 04:03 oxc

Thanks for working on this! I will take a look over the weekend.

edmundhung avatar Mar 13 '25 11:03 edmundhung

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 🙌🏼

edmundhung avatar Aug 07 '25 22:08 edmundhung