New to KendoReact? Learn about KendoReact Free.
MultiSelect
Represents the KendoReact MultiSelect component.
Accepts properties of type MultiSelectProps.
Obtaining the ref
returns an object of type MultiSelectHandle.
jsx
const App = () => {
const multiselect = React.useRef(null);
return (
<div>
<MultiSelect
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={multiselect}
/>
<Button onClick={() => alert(multiselect.current.value)}>alert value</Button>
</div>
);
}
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the MultiSelect component. |