pull/4809/head
Conduitry 5 years ago
parent b83163310c
commit fff459aed5

@ -99,9 +99,7 @@ export function set_attributes(node: Element & ElementCSSInlineStyle, attributes
} else if (key === 'style') { } else if (key === 'style') {
node.style.cssText = attributes[key]; node.style.cssText = attributes[key];
} else if (key === '__value') { } else if (key === '__value') {
const value = attributes[key]; (node as any).value = (node as any).__value = attributes[key];
(node as any).__value = value;
(node as any).value = value;
} else if (descriptors[key] && descriptors[key].set) { } else if (descriptors[key] && descriptors[key].set) {
node[key] = attributes[key]; node[key] = attributes[key];
} else { } else {

Loading…
Cancel
Save