Skip to content

Commit

Permalink
Merge pull request #439 from vc-rakesh/main
Browse files Browse the repository at this point in the history
fix: StructureClone method don't exists
  • Loading branch information
iamrsojitra authored Oct 16, 2023
2 parents 3422c6e + 326fbd7 commit 6b03379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.2",
"version": "5.0.3",
"name": "ionic-selectable",
"title": "Ionic Selectable",
"description": "An Ionic component similar to Ionic Select, that allows to search items, including async search, group, add, edit, delete items, and much more.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ export class IonicSelectableComponent implements ControlValueAccessor, OnInit, D

_setItemsToConfirm(items: any[]) {
// Return a copy of original array, so it couldn't be changed from outside.
this._itemsToConfirm = structuredClone(items);
this._itemsToConfirm = [].concat(items);
}

_doSelect(selectedItem: any) {
Expand Down

0 comments on commit 6b03379

Please sign in to comment.