Releases: jaredpalmer/formik
[email protected]
[email protected]
Patch Changes
-
e0a28e6
#2867 Thanks @umidbekkarimov! - Fix low priority validation for browser password autofill.
[email protected]
[email protected]
Patch Changes
-
e0a28e6
#2867 Thanks @umidbekkarimov! - Fix low priority validation for browser password autofill.
[email protected]
Patch Changes
00f95ec
#2854 Thanks @umidbekkarimov! - Fix low priority validation race condition.
[email protected]
Patch Changes
-
00f95ec
#2854 Thanks @umidbekkarimov! - Fix low priority validation race condition. -
Updated dependencies [
00f95ec
]:
[email protected]
Patch Changes
1c2175a
#2848 Thanks @jaredpalmer! - Ensure that parse and format aren't passed through in Field components
[email protected]
Major Changes
-
5efd691
#2255 Thanks @jaredpalmer! - Addedparse
,format
, andformatOnBlur
togetFieldProps
options,<Field>
, anduseField
. Going forward, there is no reason aside from backwards compatibility to continue using eitherformikProps.handleChange
orformikProps.handleBlur
. These are both inferior to theonChange
andonBlur
functions returned bygetFieldProps()
which the ability to utilizeparse
,format
, andformatOnBlur
.Breaking Change
Instead of just passing backformikProps.handleChange
andformikProps.handleBlur
, theonChange
andonBlur
handlers returned bygetFieldProps()
(and thususeField
/<Field>
) are now scoped to the field already and now accept either a React Synthetic event or a value. In the past, you could need to curry the handler with the string name of field to get this functionality. This likely doesn't impact many users, but it is technically breaking nonetheless.
[email protected]
Patch Changes
- Updated dependencies [
1c2175a
]:
[email protected]
Patch Changes
- Updated dependencies [
5efd691
]: