Releases: garystorey/useZodForm
Releases · garystorey/useZodForm
v0.5.92
v0.5.6
Merge pull request #10 from garystorey/v0.5.6 V0.5.6
v0.5.5
Merge pull request #8 from garystorey/v0.5.5 V0.5.5
v0.5.4
-
Converted
touchedobject toisTouchedfunction. Ex:touched.firstNamebecomesisTouched("firstName") -
Converted
dirtyobject toisDirtyfunction. Ex:dirty.firstNamebecomesisDirty("firstName") -
Updated
isDirtywhen no key is passed, returns true/false if any field is dirty. Ex:const isFormDirty = isDirty() -
Updated
isTouchedwhen no key is passed, returns true/false if any field is dirty Ex:const isFormTouched = isTouched() -
Updated
setFieldto validate the given value before setting the field. If the given value is invalid, it returnsfalseand does not update the field.