Skip to content

Commit

Permalink
Fixed: Et2Select - run checkTagOverflow() only if this.select exists
Browse files Browse the repository at this point in the history
  • Loading branch information
asig2016 authored and ralfbecker committed Aug 8, 2024
1 parent 044189a commit c44d602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/js/etemplate/Et2Select/Et2Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(); });
});
}

Expand Down

0 comments on commit c44d602

Please sign in to comment.