Merge pull request #6119 from rtomchinsky/fix/checkbox-in-form

fix(checkbox): add 'type="button"' to button tag
This commit is contained in:
Adam Bradley
2016-04-11 12:42:58 -05:00

View File

@@ -54,6 +54,7 @@ const CHECKBOX_VALUE_ACCESSOR = new Provider(
'<div class="checkbox-inner"></div>' +
'</div>' +
'<button role="checkbox" ' +
'type="button" ' +
'[id]="id" ' +
'[attr.aria-checked]="_checked" ' +
'[attr.aria-labelledby]="_labelId" ' +