Skip to content

Commit 24cd5fe

Browse files
committed
removing ng-tempalte since it’s not available until angular 4.x
fixes #84
1 parent cb95004 commit 24cd5fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-2-dropdown-multiselect",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Customizable dropdown multiselect in Angular 2 with bootstrap css.",
55
"main": "src/multiselect-dropdown.ts",
66
"repository": {

src/multiselect-dropdown.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ export class MultiSelectSearchFilter implements PipeTransform {
115115
<li *ngIf="settings.showCheckAll || settings.showUncheckAll" class="dropdown-divider divider"></li>
116116
<li class="dropdown-item" [style]="!option.isLabel && 'cursor: pointer'" *ngFor="let option of options | searchFilter:searchFilterText"
117117
(click)="!option.isLabel && setSelected($event, option)" [class.dropdown-header]="option.isLabel">
118-
<ng-template [ngIf]="option.isLabel">
118+
<template [ngIf]="option.isLabel">
119119
{{ option.name }}
120-
</ng-template>
120+
</template>
121121
<a *ngIf="!option.isLabel" href="javascript:;" role="menuitem" tabindex="-1">
122122
<input *ngIf="settings.checkedStyle === 'checkboxes'" type="checkbox" [checked]="isSelected(option)" (click)="preventCheckboxCheck($event, option)" />
123123
<span *ngIf="settings.checkedStyle === 'glyphicon'" style="width: 16px;"

0 commit comments

Comments
 (0)