Skip to content

Commit

Permalink
Merge pull request #564 from rahulramakrishnan3/release-3.1.0
Browse files Browse the repository at this point in the history
Release 3.1.0
  • Loading branch information
Cafnanc authored Aug 20, 2024
2 parents a1ffe9a + af49881 commit 3288689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class SearchAndSelectComponent implements OnInit, ControlValueAccessor {
handleCloseIconClick(event: Event, removedItem): void {
if (this.selectedData) {
this.selectedData = this.selectedData.filter(obj => obj.value !== removedItem.value || obj.id !== removedItem.id );
this.onChange(this.selectedData)
this.onChange(this.selectedData.map(data => data.value))
event.stopPropagation()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class SearchPopoverComponent implements OnInit {
return data.result.data
}
catch (error) {
return null;
return error;
}
}

Expand Down

0 comments on commit 3288689

Please sign in to comment.