Skip to content

Commit

Permalink
🔧 fix remove trigger from multi-select
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-gn committed Oct 9, 2023
1 parent c9087c5 commit 33e4946
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

| Angular Version | NPM Package Version |
|-----------------|---------------------|
| ^16.1.4 | 16.1.10 |
| ^16.1.4 | 16.1.11 |
| 15.0.4 | 15.0.6 |
| 13.2.3 | 13.0.22 |
| < 13.0.0 | 0.0.77 |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mprisma/components",
"version": "16.1.10",
"version": "16.1.11",
"repository": {
"type": "git",
"url": "https://github.com/gabriel-gn/prisma-components.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export class MultiSelectComponent implements OnInit, AfterViewInit, ControlValue

public removeSelectedOption(option: MultiSelectOption): void {
_.remove(this.selectedOptions, option);
this.selectedOptions = this.selectedOptions;
this.trigger.closePanel();
this.clearInput();
}
Expand Down

1 comment on commit 33e4946

@vercel
Copy link

@vercel vercel bot commented on 33e4946 Oct 9, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.