jaredpalmer / formik

Build forms in React, without the tears 😭
https://formik.org
Apache License 2.0
33.71k stars 2.77k forks source link

feat: passing all values as the second parameter when calling Field's validate #3882

Open myNameIsDu opened 9 months ago

myNameIsDu commented 9 months ago

Close #3874

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: d676a7376979321d812196303148a6fc23082ce5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------- | ----- | | formik | Minor | | formik-native | Patch |

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

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
formik-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2023 4:45am
codesandbox-ci[bot] commented 9 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d676a7376979321d812196303148a6fc23082ce5:

Sandbox Source
Formik TypeScript Playground (forked) Configuration
quantizor commented 9 months ago

Generally in favor, could you adjust the documentation and add a changeset? Thanks

myNameIsDu commented 9 months ago

Yeah, I'll adjust the document later, And I've already added a changeset, But there's another problem

when I executed yarn changeset, It threw an error

image

But I modified baseBranch option in the changeset config.json to be "main", and it worked, So I think maybe we have to add this change

myNameIsDu commented 9 months ago

I've already adjusted the Field API document, but I'm not sure if there are other places I need to adjust. If there are, please let me know.