What you're looking for is the
onChange
event when you change the option in a dropdown list. onChange
should then call setState
. stackoverflow.com/questions/28868071/…