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

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.

@@ -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.

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