Et2Search / SearchMixin: Clear button focuses search, ready for new value

This commit is contained in:
nathan 2024-12-19 13:30:00 -07:00
parent 02abf08be5
commit 10314e59bc

View File

@ -928,6 +928,11 @@ export const Et2WithSearchMixin = dedupeMixin(<T extends Constructor<LitElement>
{
this._handleSearchAbort(e);
}
// Focus the widget again, ready for a search
this.updateComplete.then(() =>
{
this.dropdown.open = true;
})
}
/**