I am currently using React-Select to create a dropdown menu. It's pretty simple code:
<Select className="dropdown" value={this.state.selectedOption}
options={this.state.options} onChange={this.handleQueryDropdown.bind(this)}/>
Which produces this:

My Question: Is it possible to change the "Select..." to a different message? I searched on stack and the api, but couldn't find any examples.
Thanks!
Use: placeholder property.
<Select
className="dropdown"
value={this.state.selectedOption}
options={this.state.options}
onChange={this.handleQueryDropdown.bind(this)}
placeholder='Any String You Want'
/>
From: props
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With