Skip to content

Commit

Permalink
fix: copy input value in web-component(close #22)
Browse files Browse the repository at this point in the history
  • Loading branch information
qq15725 committed Apr 26, 2023
1 parent 88602a8 commit 5e4edce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/copy-input-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export function copyInputValue<T extends HTMLElement | SVGElement>(
}

if (isTextareaElement(node) || isInputElement(node) || isSelectElement(node)) {
(clone as HTMLTextAreaElement).value = node.value
clone.setAttribute('value', node.value)
}
}

1 comment on commit 5e4edce

@vercel
Copy link

@vercel vercel bot commented on 5e4edce Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

modern-screenshot – ./

modern-screenshot-git-main-qq15725.vercel.app
modern-screenshot.vercel.app
modern-screenshot-qq15725.vercel.app

Please sign in to comment.