diff --git a/src/components/checkbox/checkbox.ts b/src/components/checkbox/checkbox.ts index 0d72dc7bfd7..5e704bf46b5 100644 --- a/src/components/checkbox/checkbox.ts +++ b/src/components/checkbox/checkbox.ts @@ -158,7 +158,7 @@ export class Checkbox extends Ion implements IonicTapInput, AfterContentInit, Co * @private */ _setChecked(isChecked: boolean) { - if (!this._disabled && isChecked !== this._checked) { + if (isChecked !== this._checked) { this._checked = isChecked; if (this._init) { this.ionChange.emit(this); diff --git a/src/components/checkbox/test/basic/app.module.ts b/src/components/checkbox/test/basic/app.module.ts index cdf15e9cc5d..58b42911696 100644 --- a/src/components/checkbox/test/basic/app.module.ts +++ b/src/components/checkbox/test/basic/app.module.ts @@ -27,6 +27,9 @@ export class E2EPage { 'grape': this.grapeCtrl }); + public checked: boolean = false; + public disabled: boolean = false; + constructor() { this.grapeChecked = true; this.standAloneChecked = true; diff --git a/src/components/checkbox/test/basic/main.html b/src/components/checkbox/test/basic/main.html index 5373529bd2b..332c05c0120 100644 --- a/src/components/checkbox/test/basic/main.html +++ b/src/components/checkbox/test/basic/main.html @@ -88,4 +88,20 @@
+