Releases: final-form/react-final-form
Releases · final-form/react-final-form
v3.6.2
v3.6.1
v3.6.0
New Features
- New
formatOnBlurprop that will causeformatto only be run when a value is blurred. This is hugely useful for formatting numbers, where you want a user to be able to type"3."on their way to"3.14"without having theformatfunction erase the decimal point in formatting. #274 #187
v3.5.2
v3.5.1
v3.5.0
New Features
- New
keepDirtyOnReinitializeconfig flag #246 (requires peer dependency of[email protected])
v3.4.2
v3.4.0
Type Fixes
Performance Improvements
- Fixed major performance problem when initially mounting a form with many fields. #236
Check out the before and after performance with relation to Formik:
You can run this performance test yourself here:
v3.3.1
v3.3.0
API Deprecation
Deprecated the render props following given by Form and FormSpy:
batchblurchangefocusinitializemutatorsreset
They can all now be found under the form prop, which is the full FormApi provided by 🏁 Final Form. This way, if the 🏁 Final Form API changes, 🏁 React Final Form does not necessarily need to be updated. It also gives you much more control as the library user.
All of these deprecations will now generate warnings in development, and will be removed from the next major release.
Migration
Any place you were using props.change(), you will need to change it to props.form.change().
