Releases: jaredpalmer/formik
Releases · jaredpalmer/formik
[email protected]
Patch Changes
- Updated dependencies [
d4314a1
]:
[email protected]
Patch Changes
0e57c8d
#2939 Thanks @seropaski! - AdduseSetFieldValue
anduseSetFieldTouched
hooks
[email protected]
Patch Changes
- Updated dependencies [
0e57c8d
]:
v2.1.4
Remove react from manifest
v2.1.3
Patches
- Start examples page: 8f998ae
- Be nicer around unspecified checkboxes: #2198. Previously, Formik would throw if a checkbox's key wasn't specified in
initialValues
and avalue
wasn't specified at /. Now we are nicer about it, and set the nextvalue
totrue
instead of throwing. - Fix compat with latest @types/react: #2214
- Attempt to fix codesandbox: #2218
- Try using forwardRef (bypassed commit hooks, sorry!): 67ff970
- Revert "Try using forwardRef (bypassed commit hooks, sorry!)": 4ff1c5c
- Update useField docs: #2233
- Update field.md: #2228
- Update SECURITY.md to conform to semver: #2227
- Make num of rows in example equal: #2226
- Fix grammar and typos: #2225
- Load Snack code from external source so it stays up to date: #2242
Credits
Huge thanks to @mackness, @JanCizmar, @is2ei, @leonvisscher, @stephan281094, and @brentvatne for helping!
v2.1.2
Patches
- Fix broken formatting on useField docs: 587c5ee
- Merge pull request #2175 from zingerj/patch-1: 7173d74
- Fix hasOwnProperty: #2178
- Fix for Object-like data without hasOwnProperty: #2177
- Fix now.sh upstream: 4b23009
- Fix now docs deploys by specifying node engine: 7f00fd6
- Add generic to FieldHelperProps typings: #2179
- Run tests on node 12: 9c1b0d0
- Fix typo in Field documentation: #2183
- Patch to getValueForCheckbox to resolve issues with undefined values: #2188
- Fix use event callback in handlers: #2187
- Update type of as and component props in FieldConfig to enable using forwardRef wrapped components with Field and FastField (#2193): #2182
- Trigger onReset when resetForm is called, not just handleReset: #2201
- Upgrade deps: #2203
- Document the v2 breaking change of
validate
: #2195 - Add submitForm to FormikHelpers to allow form re-submit: #2185
- Run validationSchema for validateField calls: #1784
- Expose formikbag as imperative methods: #1972
Credits
Huge thanks to @BjoernRave, @emrosenf, @kristenmills, @dremex, @zachintosh, @deini, @brunohkbx, @Menardi, @gwn, @fabb, and @jamesmosier for helping!
[email protected]
Patch Changes
90fd693
#2921 Thanks @jaredpalmer! - Add hooksuseSetValue
,useSetErrors
,useSetTouched
,useSetStatus
,useSubmitForm
,useResetForm
,useIsSubmitting
,useIsValid
,useIsDirty
,useValidateForm
,useValidateField
[email protected]
Patch Changes
- Updated dependencies [
90fd693
]:
[email protected]
Patch Changes
4e515a4
#2846 Thanks @jaredpalmer! - Fix useFieldTouched selector
[email protected]
Patch Changes
50433fa
#2846 Thanks @jaredpalmer! - Implement useField field.onBlur to avoid rerendering entire form on blur events