You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There can be circumstances that value is undefined
If that is the case and the type is multi, it will generate an error (value is not iterable)
I simply suggest to add an if statement
if (value) {
for (const v of value) {
for (const item of this.view.getListItems()) {
if (item[this.itemValueKey] === v) {
newValues.push(Object.assign({}, item, { selected: true }));
}
}
}
}
"carbon-components-angular": "^5.27.4"
thanks
The text was updated successfully, but these errors were encountered:
I refer to this code
carbon-components-angular/src/combobox/combobox.component.ts
Line 604 in 17da1f5
There can be circumstances that value is undefined
If that is the case and the type is multi, it will generate an error (value is not iterable)
I simply suggest to add an if statement
"carbon-components-angular": "^5.27.4"
thanks
The text was updated successfully, but these errors were encountered: