epicweb-dev / web-forms

Learn the primary mechanism for interactivity on the web.
https://www.epicweb.dev/workshops/professional-web-forms
Other
199 stars 61 forks source link

Upgrade to conform 0.8.0-pre.0 #1

Closed kentcdodds closed 1 year ago

kentcdodds commented 1 year ago

From @edmundhung:

Breaking changes

The acceptMultipleErrors option is removed. Conform will work with multiple errors by default. The ariaAttributes option is now default to true The submission.error type is updated so that all error messages are always an array (Record<string, string[]>)

New features Conform now supports auto type coercion with zod. Note: custom preprocess is still supported. New report and conform.fieldset helpers

I will apply all new changes to the web-form webshop app tomorrow and create a PR 😁