MultiSelect
A subclass of React.Component.
Represents the KendoReact MultiSelect component.
class App extends React.Component {
multiselect = null;
render() {
return (
<div>
<MultiSelect
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={component => this.multiselect = component}
/>
<button onClick={() => alert(this.multiselect.value)}>alert value</button>
</div>
);
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));
props
Readonly<MultiSelectProps> intersected with Readonly<{ children?: ReactNode; }>
The props of the MultiSelect component.
name
string | undefined
Gets the name
property of the MultiSelect.
validity
FormComponentValidity
Represents the validity state into which the MultiSelect is set.
value
Array<any>
Represents the value of the MultiSelect.