Skip to content

Commit

Permalink
fix(module: checkbox&radio): fix output status error (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy committed Nov 28, 2018
1 parent ef553c5 commit e709b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/checkbox/checkbox.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="{{prefixCls}}-input"
[attr.name]="name"
[attr.value]="value"
[(ngModel)]="checked"
[checked]="checked"
>
<span class="{{prefixCls}}-inner"></span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion components/radio/radio.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="{{prefixCls}}-input"
[attr.name]="name"
[attr.value]="value"
[(ngModel)]="checked"
[checked]="checked"
>
<span class="{{prefixCls}}-inner"></span>
</span>
Expand Down

0 comments on commit e709b86

Please sign in to comment.