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

Be nicer around unspecified checkboxes #2198

Merged
merged 1 commit into from
Jan 15, 2020
Merged

Conversation

jaredpalmer
Copy link
Owner

Previously, Formik would throw if a checkbox's key wasn't specified in initalValues and a value wasn't specified at <input>/<Field>. Now we are nicer about it, and set the next value to true.

@vercel
Copy link

vercel bot commented Jan 13, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/jared/formik-docs/i6j1hnei9
✅ Preview: https://formik-docs-git-fix-undefined-chckbox.jared.now.sh

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.

None yet

1 participant