We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7647a4f commit 30ae39dCopy full SHA for 30ae39d
src/copy-input-value.ts
@@ -4,10 +4,6 @@ export function copyInputValue<T extends HTMLElement | SVGElement>(
4
node: T,
5
cloned: T,
6
): void {
7
- if (isTextareaElement(node)) {
8
- cloned.innerHTML = node.value
9
- }
10
-
11
if (isTextareaElement(node) || isInputElement(node) || isSelectElement(node)) {
12
cloned.setAttribute('value', node.value)
13
}
0 commit comments