Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useSetFieldValue and useSetFieldTouched hooks (v3) #2939

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

seropaski
Copy link

Hi everyone!

In my work I fint out that I often repeat some selectors like useFormikContextSelector(ctx => ctx.setFieldValue);. So I've added hooks for setFieldValue and setFieldTouched. Seems it may be useful for other developers.

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2020

🦋 Changeset detected

Latest commit: 0e57c8d

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

This PR includes changesets to release 2 packages
Name Type
formik Patch
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
Copy link

vercel bot commented Dec 1, 2020

@seropaski is attempting to deploy a commit to the Formium Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Owner

@jaredpalmer jaredpalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a changeset with yarn changeset?

@seropaski
Copy link
Author

Done

@jaredpalmer
Copy link
Owner

Thanks.

@jaredpalmer jaredpalmer merged commit 56690f3 into jaredpalmer:next Dec 2, 2020
@github-actions github-actions bot mentioned this pull request Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants