mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix error TypeError: Cannot read property 'length' of undefined
This commit is contained in:
parent
d02a9d5b86
commit
93c390139b
@ -638,7 +638,7 @@ export class et2_taglist extends et2_selectbox implements et2_IResizeable
|
|||||||
});
|
});
|
||||||
|
|
||||||
// if value has already been set, re-set it by it's id(s)
|
// if value has already been set, re-set it by it's id(s)
|
||||||
if (this.options.select_options.length && this.options.value.length) {
|
if (this.options.select_options.length && this.options.value?.length) {
|
||||||
this.set_value(this.options.value.map((v) => v.id));
|
this.set_value(this.options.value.map((v) => v.id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user