We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5122c1 commit 6b0a434Copy full SHA for 6b0a434
src/getValue.js
@@ -18,7 +18,7 @@ HTMLHeadingElement.prototype.getValue = function () {
18
// TODO: check if using a a switch case will provide better performance
19
const getValue = (element) => {
20
let value = element.value || element.getAttribute('value') || "";
21
- if (element.hasAttribute('component') || element.hasAttribute('plugin')) {
+ if (element.hasAttribute('component') || element.hasAttribute('plugin') || element.type === 'file' || element.getAttribute('type') === 'file') {
22
value = storage.get(element)
23
storage.delete(element)
24
return value
0 commit comments