New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v6 rc5] form-specific change action is not bound anymore #1579
Comments
This did change as part of the introduction of the |
I was too manually changing the value of some fields and it was very useful in specific situations, so this breaks my code |
Fixed in #1588. Will post again here when it has been released. Thanks. |
Published in |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have quite common use-case: some fields are updating on another field change. As I have understood, in order to achieve that we should use change action creator that is injected as prop to form component.
I got it working in rc4 version, but after updating to rc5 it seems that change is not a prop anymore.
[v6 rc4] working code:
then in Form component:
The same code in rc5 results in an warning:
Failed prop type: Required prop
changewas not specified in Form
Sidenote: docs say that change should already be bound to dispatch (if I understand "actions [...] are already bound to dispatch" correctly), but it seems that in rc4 one should still dispatch it manually. Please correct me if I am wrong
The text was updated successfully, but these errors were encountered: