Skip to content

Commit 2a8db77

Browse files
committed
Remove console.log
1 parent 9a4ed42 commit 2a8db77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/uui-text-copy/lib/uui-text-copy.element.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,11 @@ export class UUITextCopyElement extends LabelMixin('', LitElement) {
104104
// Try & find an element with the ID
105105
const el = document.getElementById(this.copyFrom);
106106
if (el) {
107-
console.log('Element found to copy from', el);
108107
this.#valueToCopy = el.textContent ?? el.innerText ?? '';
109108

110109
// Override the value to copy ,if the element has a value property
111110
// Such as uui-input or uui-textarea or native inout elements
112111
if ('value' in el) {
113-
console.log('This element has a value property', el);
114112
this.#valueToCopy = (el as any).value;
115113
}
116114
} else {

0 commit comments

Comments
 (0)