ChangeEvent

Specifies the event arguments triggered when the selected value in the dropdown changes.

Props

The following table outlines the props for the ChangeEvent:

NameTypeDefaultDescription
event
MouseEvent<Element> | KeyboardEvent<Element>
-

Specifies the original event arguments.

itemData
string | number | boolean | { [key: string]: unknown } | null
-

Specifies the currently selected list item.

previousItemData
string | number | boolean | { [key: string]: unknown } | null
-

Specifies the previously selected list item.

value
number | string | boolean | object | null
-

Specifies the changed value.