New to KendoReact? Learn about KendoReact Free.
ComboBox
Represents the KendoReact ComboBox component.
Accepts properties of type ComboBoxProps.
Obtaining the ref
returns an object of type ComboBoxHandle.
jsx
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'));
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the ComboBox component. |