Build forms in React, without the tears ðŸ˜
validate
: #2195Huge thanks to @BjoernRave, @emrosenf, @kristenmills, @dremex, @zachintosh, @deini, @brunohkbx, @Menardi, @gwn, @fabb, and @jamesmosier for helping!
https://github.com/jaredpalmer/formik/compare/v2.1.1...v2.1.2
initialValues
and a value
wasn't specified at /<Field>. Now we are nicer about it, and set the next value
to true
instead of throwing.Huge thanks to @mackness, @JanCizmar, @is2ei, @leonvisscher, @stephan281094, and @brentvatne for helping!
https://github.com/jaredpalmer/formik/compare/v2.1.2...v2.1.3
prepareDataForValidation
. (#2265)LowPriority
from scheduler
innerRef
type signature (#2325)handleChange
/ handleBlur
typings (#2472)@typescript-eslint/unbound-method
warning.prepareDataForValidation
. (#2265)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.