stop prop on checkbox clicks

This commit is contained in:
Kyle Spearrin 2018-09-24 17:45:35 -04:00
parent 6399973bfa
commit 53675eeba7
8 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@
<tbody> <tbody>
<tr *ngFor="let g of groups; let i = index"> <tr *ngFor="let g of groups; let i = index">
<td class="table-list-checkbox" (click)="check(g)"> <td class="table-list-checkbox" (click)="check(g)">
<input type="checkbox" [(ngModel)]="g.checked" name="Groups[{{i}}].Checked" [disabled]="g.accessAll"> <input type="checkbox" [(ngModel)]="g.checked" name="Groups[{{i}}].Checked" [disabled]="g.accessAll" appStopProp>
</td> </td>
<td (click)="check(g)"> <td (click)="check(g)">
<span appStopProp> <span appStopProp>

View File

@ -62,7 +62,7 @@
<tbody> <tbody>
<tr *ngFor="let c of collections; let i = index"> <tr *ngFor="let c of collections; let i = index">
<td class="table-list-checkbox" (click)="check(c)"> <td class="table-list-checkbox" (click)="check(c)">
<input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked" appStopProp>
</td> </td>
<td (click)="check(c)"> <td (click)="check(c)">
<span appStopProp>{{c.name}}</span> <span appStopProp>{{c.name}}</span>

View File

@ -86,7 +86,7 @@
<tbody> <tbody>
<tr *ngFor="let c of collections; let i = index"> <tr *ngFor="let c of collections; let i = index">
<td class="table-list-checkbox" (click)="check(c)"> <td class="table-list-checkbox" (click)="check(c)">
<input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked" appStopProp>
</td> </td>
<td (click)="check(c)"> <td (click)="check(c)">
<span appStopProp>{{c.name}}</span> <span appStopProp>{{c.name}}</span>

View File

@ -22,7 +22,7 @@
<tbody> <tbody>
<tr *ngFor="let g of groups; let i = index"> <tr *ngFor="let g of groups; let i = index">
<td class="table-list-checkbox" (click)="check(g)"> <td class="table-list-checkbox" (click)="check(g)">
<input type="checkbox" [(ngModel)]="g.checked" name="Groups[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="g.checked" name="Groups[{{i}}].Checked" appStopProp>
</td> </td>
<td (click)="check(g)"> <td (click)="check(g)">
<span appStopProp>{{g.name}}</span> <span appStopProp>{{g.name}}</span>

View File

@ -36,7 +36,7 @@
<tbody> <tbody>
<tr *ngFor="let c of collections; let i = index" (click)="check(c)"> <tr *ngFor="let c of collections; let i = index" (click)="check(c)">
<td class="table-list-checkbox"> <td class="table-list-checkbox">
<input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked" appStopProp>
</td> </td>
<td> <td>
<span appStopProp>{{c.name}}</span> <span appStopProp>{{c.name}}</span>

View File

@ -3,7 +3,7 @@
<tbody> <tbody>
<tr *ngFor="let c of ciphers"> <tr *ngFor="let c of ciphers">
<td (click)="checkCipher(c)" class="table-list-checkbox" *ngIf="!organization"> <td (click)="checkCipher(c)" class="table-list-checkbox" *ngIf="!organization">
<input type="checkbox" [(ngModel)]="c.checked"> <input type="checkbox" [(ngModel)]="c.checked" appStopProp>
</td> </td>
<td (click)="checkCipher(c)" class="table-list-icon"> <td (click)="checkCipher(c)" class="table-list-icon">
<app-vault-icon [cipher]="c"></app-vault-icon> <app-vault-icon [cipher]="c"></app-vault-icon>

View File

@ -30,7 +30,7 @@
<tbody> <tbody>
<tr *ngFor="let c of collections; let i = index" (click)="check(c)"> <tr *ngFor="let c of collections; let i = index" (click)="check(c)">
<td class="table-list-checkbox"> <td class="table-list-checkbox">
<input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked" appStopProp>
</td> </td>
<td> <td>
<span appStopProp>{{c.name}}</span> <span appStopProp>{{c.name}}</span>

View File

@ -39,7 +39,7 @@
<tbody> <tbody>
<tr *ngFor="let c of collections; let i = index" (click)="check(c)"> <tr *ngFor="let c of collections; let i = index" (click)="check(c)">
<td class="table-list-checkbox"> <td class="table-list-checkbox">
<input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked"> <input type="checkbox" [(ngModel)]="c.checked" name="Collection[{{i}}].Checked" appStopProp>
</td> </td>
<td> <td>
<span appStopProp>{{c.name}}</span> <span appStopProp>{{c.name}}</span>