formspree / formspree-js

The fastest way to hook up a React form
https://formspree.io/javascript
MIT License
63 stars 12 forks source link

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

Closed bhongy closed 1 year ago

bhongy commented 1 year ago

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[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: c43474a4d9d9066c1a0dac3a02e81e86f21cab40

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[bot] commented 1 year ago

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