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.