Skip to content

TypedDropdownComponent.onChange method

TypedDropdownComponent › onChange

Sets the callback function to be called when the component is changed.

Signature:

onChange(callback: (value: T | null) => void): this

Parameters:

ParameterTypeDescription
callback(value: T | null) => voidThe callback function to be called when the component is changed.

Returns: thisThe component.