We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5aa97 commit 7cfa888Copy full SHA for 7cfa888
client/packages/lowcoder/src/comps/hooks/utilsComp.ts
@@ -87,12 +87,12 @@ UtilsComp = withMethodExposing(UtilsComp, [
87
method: {
88
name: "copyToClipboard",
89
description: trans("utilsComp.copyToClipboard"),
90
- params: [{ name: "url", type: "string" }],
+ params: [{ name: "text", type: "string" }],
91
},
92
execute: (comp, params) => {
93
const text = params?.[0];
94
if (typeof text === "string" && !isEmpty(text)) {
95
- copy(text);
+ copy(text, { format: "text/plain" });
96
}
97
98
0 commit comments