Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138192

Value of Select not updating when changed by modal

$
0
0

Currently, I have an issue where the I am using is not getting updated when the state.value passed in is set by modal. The way it works is we have a Select with a dropdown of searchable items. if they user doesn't find the item they are looking for, they can open a component with a grid of a more details. When they click on the item they want in the grid, the modal is closed, the state of the parent component is changed, other parts of the parent component are now visible to the user, but the value of the select statement is still 'Search...'

Tried passing through an onChange, to the component with the grid, that executes the same fucntions in the onChange thats passed through the . Everything still loads but its still not properly updating the value of the select.


Viewing all articles
Browse latest Browse all 138192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>