pull/11474/head
Rich Harris 1 year ago
parent 34079a0ec5
commit 0d5a32d5f7

@ -16,7 +16,7 @@ import * as w from '../../warnings.js';
*/ */
export function remove_input_attr_defaults(dom) { export function remove_input_attr_defaults(dom) {
if (hydrating) { if (hydrating) {
// using getAttribute instead of dome.value allow us to have // using getAttribute instead of dom.value allows us to have
// null instead of "on" if the user didn't set a value // null instead of "on" if the user didn't set a value
const value = dom.getAttribute('value'); const value = dom.getAttribute('value');
set_attribute(dom, 'value', null); set_attribute(dom, 'value', null);

Loading…
Cancel
Save