Update packages/svelte/src/internal/client/dom/elements/bindings/input.js

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/11986/head
Dominic Gannaway 2 years ago committed by GitHub
parent feb46038fd
commit f75c0a4d60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -133,10 +133,8 @@ export function bind_group(inputs, group_index, input, get_value, update) {
value = get_binding_group_value(binding_group, value, input.checked);
} else {
var hydration_input = binding_group.find((input) => input.checked);
if (hydration_input !== undefined) {
// @ts-ignore
value = hydration_input.__value;
}
// @ts-ignore
value = hydration_input?.__value;
}
update(value);
}

Loading…
Cancel
Save