B
B
Blacksmith_JS2017-03-24 18:33:23
React
Blacksmith_JS, 2017-03-24 18:33:23

Doesn't Redux re-render the form on a state change?

360b9006faf1480c9e7136578ac533a0.png
How to make it so that when the state changes, the Redux form is re-rendered.
Out of the form fulfills as it is necessary. fcf246850c1b4b79be3c7c64024b0848.png
Below is the state of the form before changing the state
02b193f9713947d2b7d2bb93cd46b840.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Blacksmith_JS, 2017-03-29
@Blacksmith_JS

Everything turned out to be much easier than expected.
in the form parameters it was necessary to specify:
asyncFormValuesLoading={true}

V
Viktor Login, 2017-03-26
@BATAZOR

Perhaps you need to use initialValuesand enableReinitializeset to `true` what would happen when the `initialValues` values ​​change?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question