I have a react form component class containing two redux-form Fields. The form component is wrapped by reduxForm and a container component defining mapStateToProps, mapDispatchToProps functions. Each field is passed an onChange function defined in the form component.
I tried creating a selector on the form using formValueSelector, but the selected values don't update as the field values change.
How can I get the current state.form value of the other field in a onChange function?
I'm using:
"react": "^15.5.4",
"redux-form": "^6.8.0",