Skip to content

v4.2.0

Compare
Choose a tag to compare
@erikras erikras released this 14 Apr 11:46
· 25 commits to master since this release

This release ignores all default value props. #134 #135 An explanation for this change has been added to the README:

Because of the strict "controlled component" nature of redux-form, some of the Material UI functionality related to defaulting of values has been disabled e.g. defaultValue, defaultDate, defaultTime, defaultToggled, defaultChecked, etc. If you need a field to be initialized to a certain state, you should use the initialValues API of redux-form.

It really shouldn't be a breaking change, as your form could not really have been working correctly if you were using the default value props before, as those values were never actually in the Redux store.