This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
Releases: wellyshen/react-cool-form
Releases · wellyshen/react-cool-form
v0.4.1
v0.4.0
✨ New Feature
- Feat(useForm): add
shouldFocus
option forrunValidation
method, see related doc. ( #654291199a
)
v0.3.1
Patch Changes
- #640
61e1d53
Thanks @wellyshen! - refactor(types): useRefObject
as the type ofform
method
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 });
v0.2.2
Patch Changes
- #619
8807efd
Thanks @wellyshen! - Refactor(types): export more types
v0.2.1
Patch Changes
- #615
712bb21
Thanks @wellyshen! - Refactor(types): use overloads for the type ofuseFormState
and thefield
method ofuseForm
v0.2.0
v0.1.0
v0.0.171
Patch Changes
- #572
2401051
Thanks @wellyshen! - Refactor(form-state): resetisSubmitted
state when the user attempts to submnit the form