Skip to content

Commit

Permalink
removing ng-tempalte since it’s not available until angular 4.x
Browse files Browse the repository at this point in the history
fixes #84
  • Loading branch information
softsimon committed Mar 2, 2017
1 parent cb95004 commit 24cd5fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-2-dropdown-multiselect",
"version": "1.0.0",
"version": "1.0.1",
"description": "Customizable dropdown multiselect in Angular 2 with bootstrap css.",
"main": "src/multiselect-dropdown.ts",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/multiselect-dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ export class MultiSelectSearchFilter implements PipeTransform {
<li *ngIf="settings.showCheckAll || settings.showUncheckAll" class="dropdown-divider divider"></li>
<li class="dropdown-item" [style]="!option.isLabel && 'cursor: pointer'" *ngFor="let option of options | searchFilter:searchFilterText"
(click)="!option.isLabel && setSelected($event, option)" [class.dropdown-header]="option.isLabel">
<ng-template [ngIf]="option.isLabel">
<template [ngIf]="option.isLabel">
{{ option.name }}
</ng-template>
</template>
<a *ngIf="!option.isLabel" href="javascript:;" role="menuitem" tabindex="-1">
<input *ngIf="settings.checkedStyle === 'checkboxes'" type="checkbox" [checked]="isSelected(option)" (click)="preventCheckboxCheck($event, option)" />
<span *ngIf="settings.checkedStyle === 'glyphicon'" style="width: 16px;"
Expand Down

1 comment on commit 24cd5fe

@sjshank
Copy link

@sjshank sjshank commented on 24cd5fe Apr 4, 2017

Choose a reason for hiding this comment

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

Thanks for solution. It resolved my issue

Please sign in to comment.