I want to get all values from redux-form
. I can't use formValueSelector
, because I don't know fields names (I create them dynamically). One solution is to use store.getState().form[FORM_NAME].values
, but I guess it's a dirty solution, isn't it? If so, is there another way?
There is a getFormValues
selector for that.
Or you could just get the values passed to onSubmit
during form submission.