Skip to content

Commit bc9bb53

Browse files
committed
fix: entry-list-select undefined array
1 parent b7d33e2 commit bc9bb53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/data/src/lib/entry-list-select/entry-list-select.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ export class EntryListSelectComponent extends InputComponent implements ControlV
131131

132132
/** Called when the model changes */
133133
writeValue(value: any) {
134-
this.value = value;
134+
this.value = value || [];
135135
if (this.selection) {
136-
this.selection.replaceWith(value);
136+
this.selection.replaceWith(this.value);
137137
}
138138
}
139139

0 commit comments

Comments
 (0)