Closed diedu89 closed 8 years ago
render() { return ( <Dropdown style={{ height: 20, width: 200}} values={[ '--Choose--', 'one', 2, 3.5, { four: 4 }, [ 5, 6, 7 ], false ]} selected={this.state.selected} onChange={(data) => { console.log(data); }} /> ); }
somewhere else in the code
this.setState({selected: 3})
My bad, it does call onChange with the example above, seems that it is a specific case where it is not working for some reason, I will check what could be wrong and upload an example of that case.
somewhere else in the code