Hi,
I have two tabs and they both have city dropdown. I set the property in redux store when the value of the city is changed. When I change to the other tab the value is not changing to the new city. I have set defaultValue={this.props.city}. I did console log the value to make sure it is the new city but the text still does not change. Any help would be appreciated.
Hi, I have two tabs and they both have city dropdown. I set the property in redux store when the value of the city is changed. When I change to the other tab the value is not changing to the new city. I have set defaultValue={this.props.city}. I did console log the value to make sure it is the new city but the text still does not change. Any help would be appreciated.
Thanks