Skip to content

Commit

Permalink
Fixed #983
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Oct 25, 2016
1 parent 5e113e3 commit 7b96371
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/radiobutton/radiobutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ export class RadioButton implements ControlValueAccessor {
}

select() {
this.checked = true;
this.onModelChange(this.value);
if(!this.disabled) {
this.checked = true;
this.onModelChange(this.value);
}
}

writeValue(model: any) : void {
Expand Down

0 comments on commit 7b96371

Please sign in to comment.