From my understanding from the docs if i access props.values
from inside a component instance, I should get an object describing the values in each field of the form.
values : Object
The current values of all the fields in the form.
In my case, I need to access a value, in order to redirect to something like
signup?email=theemailvalue
upon form submission.
However when I access the props.value
I get an empty object.
What am I doing wrong here?
As redux-form documentation, proper way to access form values is by formValueSelector