New to KendoReactStart a free 30-day trial

Options for the useKendoPaste hook.

Definition

Package:@progress/kendo-react-common

Properties

enabled?

boolean

Whether the smart paste subscription is enabled. When false, the hook will not listen for smart paste events.

Default:

true

The field name to listen for in the smart paste event. This is typically the component's name or id prop. When the event contains a value for this field, the onValueChange callback is called.

If undefined or empty, the hook will not subscribe to events.

onValueChange

(value: any) => void

Callback fired when a value is received for this field from the smart paste event.

Parameters:valueany

The new value from the smart paste event

In this article
DefinitionPropertiesenabled?fieldName?onValueChange
Not finding the help you need?
Contact Support