This repository was 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
shouldFocusoption forrunValidationmethod, see related doc. ( #654291199a)
v0.3.1
Patch Changes
- #640
61e1d53Thanks @wellyshen! - refactor(types): useRefObjectas the type offormmethod
v0.3.0
💥 Breaking Changes
- Refactor(useForm): Turn the
shouldValidateparameter ofsetTouchedto object for the purpose of API consistency, see related doc
- setTouched("fieldName", false);
+ setTouched("fieldName", { shouldValidate: false });v0.2.2
Patch Changes
- #619
8807efdThanks @wellyshen! - Refactor(types): export more types
v0.2.1
Patch Changes
- #615
712bb21Thanks @wellyshen! - Refactor(types): use overloads for the type ofuseFormStateand thefieldmethod ofuseForm
v0.2.0
v0.1.0
v0.0.171
Patch Changes
- #572
2401051Thanks @wellyshen! - Refactor(form-state): resetisSubmittedstate when the user attempts to submnit the form