Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update.multiselect.component.html #539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
class="pure-checkbox">
<input *ngIf="settings.showCheckbox && !settings.singleSelection" type="checkbox" [checked]="item.selected" [disabled]="(settings.limitSelection == selectedItems?.length && !isSelected(item)) || item.disabled"
/>
<label>{{item[settings.labelKey]}}</label>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not related to with this PR, but maybe it helps somebody: labelKey seems to cause a problem when we use groupBy and the group ist not having a label. because the value ist not set on the item.

<c-templateRenderer [data]="itemTempl" [item]="item"></c-templateRenderer>
<ul class="lazyContainer">
<span *ngFor="let val of item.list ; let j = index;">
<li (click)="onItemClick(val,j,$event); $event.stopPropagation()" [ngClass]="{'grp-title': val.grpTitle,'grp-item': !val.grpTitle && !settings.singleSelection}"
Expand Down Expand Up @@ -276,4 +276,4 @@
<h5 class="list-message" *ngIf="data?.length == 0">{{settings.noDataLabel}}</h5>
</div>
</div>
</div>
</div>