0

I have a redux form included as component within parent component render function.

The redux form fills form data from its this.props

Now I have a drop down in the parent component which I want to change the redux form content once dropdown changes its value.

My question is how to change the redux form content (which is this.props) from the parent component once dropdown clicked ?

1 Answer 1

1

You should dispatch an action.

Have the parent component also listen to props. for the dropdown onClick function, you dispatch an action to update the redux store, and everything on the page will update that refers to those props.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.