public interface PastedValueTransformer
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
transformPastedValue(FormItem item,
DynamicForm form,
java.lang.String pastedValue)
Notification fired in response to a clipboard "paste" event on freeform text items, giving developers an opportunity to
reformat the pasted text.
|
java.lang.String transformPastedValue(FormItem item, DynamicForm form, java.lang.String pastedValue)
pastedValue argument contains the text pasted from the clipboard. This
method should return the text value to actually insert into the input element.item - Item into which the user pasted a valueform - Pointer to the item's formpastedValue - Pasted text value