AutoComplete
Represents the KendoReact AutoComplete component.
Accepts properties of type AutoCompleteProps.
Obtaining the AutoCompleteHandle
.
class App extends React.Component {
autocomplete = null;
render() {
return (
<div>
<AutoComplete
data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
ref={component => this.autocomplete = component}
/>
<button onClick={() => alert(this.autocomplete.value)}>alert value</button>
</div>
);
}
}
ReactDOM.render(<App />, document.querySelector('my-app'));
Name | Type | Default | Description |
---|---|---|---|
props |
|
The props of the AutoComplete component. |