vue-clipboard2 icon indicating copy to clipboard operation
vue-clipboard2 copied to clipboard

clipboard2 hasAttribute is not a function

Open freshgeek opened this issue 2 years ago • 1 comments

"vue-clipboard2": "^0.3.3",
"element-ui": "^2.15.6",

Uncaught TypeError: t.hasAttribute is not a function at t.exports (clipboard.min.js:7:1) at f (clipboard.min.js:7:1) at s (clipboard.min.js:7:1) at r.value (clipboard.min.js:7:1) at HTMLButtonElement.eval (clipboard.min.js:7:1) at eval (vue-clipboard.js:29:1)

freshgeek avatar Aug 02 '23 06:08 freshgeek

convert copied value from number to string this worked for me

Hucy avatar Aug 08 '23 11:08 Hucy