Fixed: Et2Select - run checkTagOverflow() only if this.select exists

This commit is contained in:
Alexandros Sigalas 2024-08-08 00:29:00 +03:00 committed by Ralf Becker
parent 044189a2ed
commit c44d60256e

View File

@ -345,7 +345,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
this.select?.popup?.handleAnchorChange();
// requestUpdate("value") above means we need to check tags again
this.select.updateComplete.then(() => {this.checkTagOverflow(); });
this.select?.updateComplete.then(() => {this.checkTagOverflow(); });
});
}