formik

Build forms in React, without the tears 😭

APACHE-2.0 License

Downloads
11.2M
Stars
33.5K
Committers
456

Bot releases are visible (Hide)

formik -

Published by jaredpalmer over 1 year ago

formik -

Published by jaredpalmer over 1 year ago

Bugfixes

  • Properly handle nested array data in prepareDataForValidation. (#2265)
  • Fix 2.1.4 regression with initialValues updating (#2318)
  • Correct import of LowPriority from scheduler
  • Updated innerRef type signature (#2325)
  • Fix handleChange / handleBlur typings (#2472)
  • Fix peer dependency version (#2451)
  • Fixed @typescript-eslint/unbound-method warning.

Internal

Legal

  • License changed from MIT to Apache 2.0. Formik is 100% still open source. We don't want people using the logo/trademark commercially without our permission.
  • Intellectual Property and Copyright transferred from Jared Palmer to Formik Inc. Happy to answer questions via DM at [email protected]

Commits

  • Properly handle nested array data in prepareDataForValidation. (#2265)
  • Fix 2.1.4 regression with initialValues updating (#2318)
  • Added "shouldValidate" to "setValue" and "setTouched" field hel… (#2371)
  • Add FieldProps change to v2 migration guide (#2356)
  • Correct import of LowPriority from scheduler
  • Fix: return onSubmit promise result in submission (#2420)
  • fix: Update innerRef type signature (#2325)
  • Fix handleChange / handleBlur typings (#2472)
  • Fix peer dependency version (#2451)
  • Make validateOnMount rerun validations when initialValues have changed
  • Update LICENSE
  • Merge pull request #2507 from stefanoverna/fix-validateonmount
  • Merge pull request #2438 from helious/master
  • Fixes @typescript-eslint/unbound-method.

https://github.com/formik/formik/compare/v2.1.4...v2.1.5

formik - [email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

formik - [email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 22e236e #3784 Thanks @probablyup! - Improve performance of the FieldArray component by adding a shouldComponentUpdate check; this should help avoid unnecessary re-renders which may affect the performance of a form.

  • bc9cb28 #3785 Thanks @probablyup! - Fixed field error state for array fields that have an error and become empty through an API like arrayHelpers.remove.

    The prior behavior resolved the field error to [undefined], now it is simply undefined.

  • 9cbf150 #3787 Thanks @probablyup! - Fix infinite loop issue in Field when field helpers (setTouched, etc) are used as an argument in React.useEffect.

  • 9c75a9f #3780 Thanks @probablyup! - Fixed an issue with array field errors being incorrectly split into an array of individual characters instead of an array of error strings.

  • 35fa4cc #3783 Thanks @probablyup! - Fix validation of deep.dot.path field references when using the validateField API.

formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • 3a9c707 #3203 Thanks @hixus! - Fixes type of setError value as it is same as setFieldError message
formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

formik - [email protected]

Published by github-actions[bot] over 3 years ago

Patch Changes

  • e50040a #2881 Thanks @jinmayamashita! - Prevent calling getSelectedValues when the element has not options

  • 31405ab #3201 Thanks @artola! - Fixes regression that resulted in error update race condition from when using validateOnMount

  • c2d6926 #2995 Thanks @johnrom! - Allow explicitly setting <form action> to empty string (#2981). Note: previous code which passed an empty string would result in a noop (simply appending # to the url), but this will now result in a form submission to the current page.

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

  • 90fd693 #2921 Thanks @jaredpalmer! - Add hooks useSetValue, useSetErrors, useSetTouched, useSetStatus, useSubmitForm, useResetForm, useIsSubmitting, useIsValid, useIsDirty, useValidateForm, useValidateField
formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

formik - https://github.com/jaredpalmer/formik/releases/tag/[email protected]

Published by github-actions[bot] almost 4 years ago

Patch Changes

Package Rankings
Top 0.27% on Npmjs.org
Top 3.35% on Proxy.golang.org
Badges
Extracted from project README
Stable Release Blazing Fast gzip size license Discord