Skip to content

Releases: garystorey/useZodForm

v0.5.92

Choose a tag to compare

@garystorey garystorey released this 30 Jun 15:41
c5245b2

update bad deps again

v0.5.6

Choose a tag to compare

@garystorey garystorey released this 27 Jun 21:18
77a31b3
Merge pull request #10 from garystorey/v0.5.6

V0.5.6

v0.5.5

Choose a tag to compare

@garystorey garystorey released this 27 Jun 21:01
299c567
Merge pull request #8 from garystorey/v0.5.5

V0.5.5

v0.5.4

Choose a tag to compare

@garystorey garystorey released this 17 Jul 20:56
b3bec28
  • 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.