Closed andreecosta closed 7 years ago
hey! How can I select a default option, but show it to the user? When I select one of them programmatically, has a default one, this is what I get:
http://imgur.com/a/QjGaA
But I should be getting this:
http://imgur.com/a/QiDDf
I know that this was already asked, but if I set testOptionEqual It won't allow me to change the option. For example if I use: selectedOption={ this.state.recurrence } it won't update the UI if I change to another option.
testOptionEqual
selectedOption={ this.state.recurrence }
hey! How can I select a default option, but show it to the user? When I select one of them programmatically, has a default one, this is what I get:
http://imgur.com/a/QjGaA
But I should be getting this:
http://imgur.com/a/QiDDf
I know that this was already asked, but if I set
testOptionEqual
It won't allow me to change the option. For example if I use:selectedOption={ this.state.recurrence }
it won't update the UI if I change to another option.