I\'m using react and I want to get the value of the selected option of a dropdown in react but I don\'t know how. Any suggestions? thanks! My dropdown is just a select like:
You can handle it all within the same function as following
this.setState({productPrice: e.target.value})}> 5 dollars 10 dollars
as you can see when the user select one option it will set a state and get the value of the selected event without furder coding require!