Skip to content

Releases: nerdgeschoss/react-use-form-library

v0.0.70

09 Apr 18:02
98822db
Compare
Choose a tag to compare

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

26 Jan 10:35
7444c15
Compare
Choose a tag to compare
  • introduce a new onChange handler on the form hook that gives you callback on every model change

0.0.68

27 Oct 12:58
ff5d659
Compare
Choose a tag to compare
  • 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

25 Oct 17:37
a8e1a03
Compare
Choose a tag to compare
  • fixes a bug where date objects would always be marked as dirty

0.0.66

19 Oct 11:10
16592aa
Compare
Choose a tag to compare
  • fixes a bug when updating underlying models with null values

0.0.65

06 Oct 16:24
d57a95f
Compare
Choose a tag to compare
  • 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

16 Nov 11:16
Compare
Choose a tag to compare
call on update only if instanced

v0.0.63

20 Oct 09:48
Compare
Choose a tag to compare
added cleanup to force update hook

v0.0.62

18 Oct 08:19
Compare
Choose a tag to compare
allow empty value for json

v0.0.61

18 Oct 07:48
Compare
Choose a tag to compare

Include edge cases in json validation