Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

AutoComplete

Represents the KendoReact AutoComplete component.

Accepts properties of type AutoCompleteProps. Obtaining the ref returns an object of type 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'));

In this article

Not finding the help you need?