DropDownList

A subclass of React.Component.

Represents the KendoReact DropDownList component.

class App extends React.Component {
   dropdownlist = null;
   render() {
      return (
         <div>
             <DropDownList
                 data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
                 ref={component => this.dropdownlist = component}
             />
             <button onClick={() => alert(this.dropdownlist.value)}>alert value</button>
         </div>
      );
   }
}
ReactDOM.render(<App />, document.querySelector('my-app'));

props Readonly<DropDownListProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the DropDownList component.

index number

The index of the selected item.

name string | undefined

Gets the name property of the DropDownList.

validity FormComponentValidity

Represents the validity state into which the DropDownList is set.

value any

The value of the DropDownList.

 /