Fix search letter cannot be disabled

This commit is contained in:
nathan 2022-08-17 16:26:22 -06:00
parent dce4ac78fc
commit 24d9d3ef53
2 changed files with 32 additions and 23 deletions

View File

@ -270,6 +270,15 @@ export class Et2ColumnSelection extends Et2InputWidget(LitElement)
}
}
});
// Add in letters
this.shadowRoot.querySelectorAll("[part='columns'] > :not(.column)").forEach((i : SlMenuItem) =>
{
if(i.checked)
{
value.push(i.value);
}
})
return value;
}