I'm new to react, learning new things in react and have created a dropdown for a country and want store the value in app.js. I couldn't able to get the value from the dropdown field. Can anyone help me to get the value?
Here is the some code:
<Select
placeholder="Select your country"
options={countryOptions}
value={this.props.country}
onChange={this.props.handleCountry}
/>
Here is the whole code:
"https://codesandbox.io/s/charming-bell-elme4".
Can anyone help me in this?