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
const App = () => {
const combobox = React.useRef(null);
return (
<div>
<ComboBox
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={combobox}
/>
<Button onClick={() => alert(combobox.current.value)}>alert value</Button>
</div>
);
}
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the ComboBox component. |