Skip to content

Commit

Permalink
fix(buttons): Uncheck checkbox after click (#1721)
Browse files Browse the repository at this point in the history
Closes #1697
  • Loading branch information
denStrigo authored and nnixaa committed Jun 5, 2018
1 parent 22c161f commit fbe12a9
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,22 @@
</div>
</div>
<div class="btn-group btn-group-toggle btn-divided-group btn-group-full-width" data-toggle="buttons">
<label ngbButtonLabel class="btn btn-primary" [class.active]="dividedButtonGroupTwo.left">
<label ngbButtonLabel
class="btn btn-primary"
[class.active]="dividedButtonGroupTwo.left"
[class.focus]="dividedButtonGroupTwo.left">
<input ngbButton type="checkbox" [(ngModel)]="dividedButtonGroupTwo.left"> Left
</label>
<label ngbButtonLabel class="btn btn-primary" [class.active]="dividedButtonGroupTwo.middle">
<label ngbButtonLabel
class="btn btn-primary"
[class.active]="dividedButtonGroupTwo.middle"
[class.focus]="dividedButtonGroupTwo.middle">
<input ngbButton type="checkbox" [(ngModel)]="dividedButtonGroupTwo.middle"> Middle
</label>
<label ngbButtonLabel class="btn btn-primary" [class.active]="dividedButtonGroupTwo.right">
<label ngbButtonLabel
class="btn btn-primary"
[class.active]="dividedButtonGroupTwo.right"
[class.focus]="dividedButtonGroupTwo.right">
<input ngbButton type="checkbox" [(ngModel)]="dividedButtonGroupTwo.right"> Right
</label>
</div>
Expand Down

0 comments on commit fbe12a9

Please sign in to comment.