mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #6119 from rtomchinsky/fix/checkbox-in-form
fix(checkbox): add 'type="button"' to button tag
This commit is contained in:
@@ -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" ' +
|
||||
|
||||
Reference in New Issue
Block a user