diff --git a/api/js/etemplate/et2_widget_taglist.ts b/api/js/etemplate/et2_widget_taglist.ts index 5a91785e6b..b29c261105 100644 --- a/api/js/etemplate/et2_widget_taglist.ts +++ b/api/js/etemplate/et2_widget_taglist.ts @@ -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 (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)); } }