Skip to content

Commit

Permalink
my first commit to open source
Browse files Browse the repository at this point in the history
  • Loading branch information
maruthumj committed Oct 25, 2023
1 parent e5b282a commit f39f6ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/app/components/multiselect/multiselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
filter: (value) => this.onFilterInputChange(value),
reset: () => this.resetFilter()
};
}
}
}

ngAfterContentInit() {
Expand Down Expand Up @@ -944,7 +944,8 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
this.itemTemplate = item.template;
break;
}
});
this.cd.detectChanges();
});
}

ngAfterViewInit() {
Expand All @@ -960,7 +961,6 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
this.overlayViewChild?.alignOverlay();
}, 1);
});

this.filtered = false;
}
}
Expand Down Expand Up @@ -1231,6 +1231,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft

input.focus();
}
this.cd.detectChanges();
}

removeChip(chip: MultiSelectItem, event: MouseEvent) {
Expand Down

0 comments on commit f39f6ff

Please sign in to comment.