Only care about children one level deep, they'll handle their own children

This commit is contained in:
nathan 2024-08-15 10:20:51 -06:00
parent a834809423
commit f3b83cbd32

View File

@ -321,7 +321,7 @@ export const Et2WidgetWithSelectMixin = <T extends Constructor<LitElement>>(supe
{
this.select_options = new_options;
}
let others = _node.querySelectorAll(":not(option)");
let others = _node.querySelectorAll(":scope > :not(option)");
// Load the child nodes.
others.forEach((node) =>
{