Releases: nerdgeschoss/react-use-form-library
Releases · nerdgeschoss/react-use-form-library
v0.0.70
form Object and useForm hook now exposes a touchedValues property that has an object with all the keys that have been touched, with their corresponding values.
This helps in situations where the changes
object does not reflect an actual change in date (for example interacting twice with a boolean field)
0.0.69
- introduce a new
onChange
handler on the form hook that gives you callback on every model change
0.0.68
- hotfix: revert automatically updating the form object when passing new model props to
useForm
. This is now opt-in via the_unstableUpdateModelOnChange
option.
0.0.67
- fixes a bug where date objects would always be marked as dirty
0.0.66
- fixes a bug when updating underlying models with
null
values
0.0.65
- add support for updating the model argument of
useForm
, allowing you to change an underlying model even after the form was instantiated (e.g. when loading the current state asynchronous from a server)
v0.0.64
call on update only if instanced
v0.0.63
added cleanup to force update hook
v0.0.62
allow empty value for json
v0.0.61
Include edge cases in json validation