Skip to content

Releases: jaredpalmer/formik

[email protected]

07 Nov 21:49
14aeb9a
Compare
Choose a tag to compare

Patch Changes

[email protected]

07 Nov 21:49
14aeb9a
Compare
Choose a tag to compare

Patch Changes

[email protected]

07 Nov 21:49
3d8666f
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

07 Nov 21:49
3d8666f
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

05 Nov 16:49
12ab09d
Compare
Choose a tag to compare

Patch Changes

[email protected]

05 Nov 16:49
12ab09d
Compare
Choose a tag to compare

Patch Changes

[email protected]

27 Oct 20:08
96d5dc9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

27 Oct 18:47
30c75f3
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Major Changes

  • 5efd691 #2255 Thanks @jaredpalmer! - Added parse, format, and formatOnBlur to getFieldProps options, <Field>, and useField. Going forward, there is no reason aside from backwards compatibility to continue using either formikProps.handleChange or formikProps.handleBlur. These are both inferior to the onChange and onBlur functions returned by getFieldProps() which the ability to utilize parse, format, and formatOnBlur.

    Breaking Change
    Instead of just passing back formikProps.handleChange and formikProps.handleBlur, the onChange and onBlur handlers returned by getFieldProps() (and thus useField/<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]

27 Oct 20:08
96d5dc9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes

[email protected]

27 Oct 18:47
30c75f3
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Patch Changes