From 388506f70ee1ec7505e9e0c6b18ffe1ff1178d88 Mon Sep 17 00:00:00 2001 From: linusbrolin Date: Tue, 19 Jul 2016 11:26:52 +0200 Subject: [PATCH] fix(options): fixed the disabled state (#225) * fixed the disabled state * added a getter for disabled, instead of using _disabled in the template. --- components/select/select.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/select/select.ts b/components/select/select.ts index 4f1a4944..76d9ec17 100755 --- a/components/select/select.ts +++ b/components/select/select.ts @@ -215,6 +215,9 @@ export class SelectComponent implements OnInit { this.hideOptions(); } } + public get disabled(): boolean { + return this._disabled; + } @Input() public set active(selectedItems:Array) {