In demo code there is handleChange function, which updates first select(labeled "no optgroups"), with new values after any select changes.
handleChange: function () {
this.setState({
list: [{value:'One'},{value:'Two'},{value:'Three'},{value:'Four',label:'Four Label'}]
});
},
If it worked correctly, no values should be selected in first select after first change of any select, but old values stay and state is not being re-rendered.
In demo code there is handleChange function, which updates first select(labeled "no optgroups"), with new values after any select changes.
If it worked correctly, no values should be selected in first select after first change of any select, but old values stay and state is not being re-rendered.