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

feature: (type) support array as field value #57

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

bhongy
Copy link
Contributor

@bhongy bhongy commented Aug 30, 2023

Formspree supports arrays in form submission data.

This PR updates FieldValues types in @formspree/core to allow passing Array<string | number | boolean | null | undefined> as a field value.

@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2023

🦋 Changeset detected

Latest commit: c43474a

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

This PR includes changesets to release 2 packages
Name Type
@formspree/core Patch
@formspree/react 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 Aug 30, 2023

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

Name Status Preview Comments Updated (UTC)
formspree-react-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2023 5:09am

@bhongy bhongy merged commit 6c31cd1 into main Sep 14, 2023
@bhongy bhongy deleted the feature/support-array-for-field-value branch September 14, 2023 01:12
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.

2 participants