[Library | Trunk]: Quick Selections on entity click change checkbox

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59945 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-11-24 08:53:22 +00:00
parent 7fc62a8117
commit 2d66fc7ff8
1 changed files with 4 additions and 2 deletions

View File

@ -21,8 +21,10 @@ import {ActivatedRoute, Router} from "@angular/router";
<span class="uk-text-muted">Include: </span>
<span>
<ng-container *ngFor="let value of resultTypes.values">
<span class="uk-margin-small-left"> <input type="checkbox" class="uk-checkbox"
[(ngModel)]="value.selected" (ngModelChange)="changed()" />{{value.name}}</span>
<span class="uk-margin-small-left">
<input #input type="checkbox" class="uk-checkbox" [(ngModel)]="value.selected" (ngModelChange)="changed()"/>
<span class="space clickable" (click)="input.click()">{{value.name}}</span>
</span>
</ng-container>
</span>
</div>