Skip to content

Commit

Permalink
fix(options): fixed the disabled state (#225)
Browse files Browse the repository at this point in the history
* fixed the disabled state

* added a getter for disabled, instead of using _disabled in the template.
  • Loading branch information
linusbrolin authored and valorkin committed Jul 19, 2016
1 parent 5b992e9 commit 388506f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ export class SelectComponent implements OnInit {
this.hideOptions();
}
}
public get disabled(): boolean {
return this._disabled;
}

@Input()
public set active(selectedItems:Array<any>) {
Expand Down

0 comments on commit 388506f

Please sign in to comment.