This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
v0.3.0
💥 Breaking Changes
- Refactor(useForm): Turn the
shouldValidate
parameter ofsetTouched
to object for the purpose of API consistency, see related doc
- setTouched("fieldName", false);
+ setTouched("fieldName", { shouldValidate: false });