-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Feature Request]: Set a Field's Value From Another Field's onChange #116
Comments
Hi! I'm stumbling onto the same bump in the road... did you ever find any solution to this? I thought mebbe directly changing the |
Any updates on this? |
the only way I was able to do this was, inside the onChange, get from DOM the input element with the name I want to change the value, and programmatically change its value :/ there is also a functionality in the Field called listenTo that can work for you @christinanate. But I still think that you will have to manipulate DOM elements. The only form method the callback function from onChangeValidate (for example) gives you is the getFieldValue. |
Description
I need an update to one field's value to also update another field's value.
Describe the solution you'd like
The onSubmit function's values should log both fields updated values.
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: