Skip to content

Commit 6b03379

Browse files
authored
Merge pull request #439 from vc-rakesh/main
fix: StructureClone method don't exists
2 parents 3422c6e + 326fbd7 commit 6b03379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.0.2",
2+
"version": "5.0.3",
33
"name": "ionic-selectable",
44
"title": "Ionic Selectable",
55
"description": "An Ionic component similar to Ionic Select, that allows to search items, including async search, group, add, edit, delete items, and much more.",

src/app/components/ionic-selectable/ionic-selectable.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ export class IonicSelectableComponent implements ControlValueAccessor, OnInit, D
11261126

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

11321132
_doSelect(selectedItem: any) {

0 commit comments

Comments
 (0)