ComboBox
Represents the KendoReact ComboBox component.
Accepts properties of type ComboBoxProps.
Obtaining the ComboBoxHandle
.
class App extends React.Component {
combobox = null;
render() {
return (
<div>
<ComboBox
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={component => this.combobox = component}
/>
<button onClick={() => alert(this.combobox.value)}>alert value</button>
</div>
);
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));