You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f013d35 The delta argument passed to Form::onSubmit has been corrected to exclude fields that were read-only, instead of setting their value as null (which should happen only for disabled). Per the specification, read-only fields should not be submitted in the form's payload.
cef6db2 The argument passed to Form::onDirty and Form::onPristine have changed from event to true and false respectively. This simplifies consumption with useState(): <Form onDirty={setDirty} onPristine={setDirty}>
03f1196 The library's peer dependency on classname has changed to clsx (which has an identical API, so no code changes should be needed for consumers of form5, merely a change in your own dependency). clsx has a smaller footprint and is more efficient.
New features
5097a9a<Form> automatically aborts the submission immediately when the form is pristine.