diff --git a/src/generators/dom/visitors/attributes/addElementBinding.js b/src/generators/dom/visitors/attributes/addElementBinding.js index 98488351d6..769eeb91ff 100644 --- a/src/generators/dom/visitors/attributes/addElementBinding.js +++ b/src/generators/dom/visitors/attributes/addElementBinding.js @@ -59,9 +59,7 @@ export default function createBinding ( generator, node, attribute, current, loc setter = deindent` if ( !${local.name}.checked ) return; ${setter} - component._bindingGroups[${bindingGroup}].forEach( function ( input ) { - input.checked = false; - });`; + `; } const condition = type === 'checkbox' ? @@ -158,4 +156,4 @@ function getBindingGroup ( generator, current, attribute, keypath ) { } return index; -} \ No newline at end of file +}