Releases: swan-io/use-form
Releases · swan-io/use-form
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
What's new
- Unchanged fields value does not show
valid
feedback on submit, avoiding visually "valid" optional fields
Breaking changes
- Rename package to
@swan-io/use-form
- Drop React 17 support
- Remove
hasDefinedKeys
in favor of returning a record of@swan-io/boxed
Options
- Remove
getFieldState
in favor of a simplergetFieldValue
- Remove async field validation (no more
validating
state) - Add
getFieldRef
- Rename
equalityFn
toisEqual
- Remove
focusNextField
- Remove
resetField
feedbackOnly
option submitForm
now accept an object withonSuccess
,onFailure
andoptions