Skip to content

Releases: garystorey/useZodForm

v0.5.92

30 Jun 15:41
c5245b2

Choose a tag to compare

update bad deps again

v0.5.6

27 Jun 21:18
77a31b3

Choose a tag to compare

Merge pull request #10 from garystorey/v0.5.6

V0.5.6

v0.5.5

27 Jun 21:01
299c567

Choose a tag to compare

Merge pull request #8 from garystorey/v0.5.5

V0.5.5

v0.5.4

17 Jul 20:56
b3bec28

Choose a tag to compare

  • Converted touched object to isTouched function. Ex: touched.firstName becomes isTouched("firstName")

  • Converted dirty object to isDirty function. Ex: dirty.firstName becomes isDirty("firstName")

  • Updated isDirty when no key is passed, returns true/false if any field is dirty. Ex: const isFormDirty = isDirty()

  • Updated isTouched when no key is passed, returns true/false if any field is dirty Ex: const isFormTouched = isTouched()

  • Updated setField to validate the given value before setting the field. If the given value is invalid, it returns false and does not update the field.