AutoComplete
A subclass of React.Component.
Represents the KendoReact AutoComplete component.
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'));
props
Readonly<AutoCompleteProps> intersected with Readonly<{ children?: ReactNode; }>
The props of the AutoComplete component.
name
string | undefined
Gets the name
property of the AutoComplete.
validity
FormComponentValidity
Represents the validity state into which the AutoComplete is set.
value
string
The value of the AutoComplete.