UseKendoPasteOptions
Interface
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
fieldName?
string
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