Skip to content

OpenDialogOptions.onInput method

OpenDialogOptions › onInput

Unofficial

Callback invoked when the dialog input value changes.

Signature:

onInput(e: KeyboardEvent, value: string, callback: (value: unknown) => void): void

Parameters:

ParameterTypeDescription
eKeyboardEventThe keyboard event.
valuestringThe current input value.
callback(value: unknown) => voidThe callback to invoke with the result.

Returns: void