Skip to content

Conversation

purusothsv13
Copy link

Added template renderer for group by item.

Added template renderer for group by item.
@purusothsv13
Copy link
Author

@CuppaLabs Can you please verify and merge the request?

@CuppaLabs
Copy link
Owner

@purusothsv13 This does not work in a generic form. There should be a conditional application fo label or template.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants