New to KendoReactLearn about KendoReact Free.

AutoComplete

Represents the KendoReact AutoComplete component.

Accepts properties of type AutoCompleteProps. Obtaining the ref returns an object of type AutoCompleteHandle.

A Functional Component.

jsx
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'));
NameTypeDefaultDescription

props

AutoCompleteProps intersected with RefAttributes<any>

The props of the AutoComplete component.

Not finding the help you need?
Contact Support