Bunch of fixes and cleanup (#11636)

This commit is contained in:
Bram Kragten
2022-02-10 15:24:47 +01:00
committed by GitHub
parent fd80408de2
commit 0eeed85193
27 changed files with 163 additions and 136 deletions

View File

@@ -31,7 +31,7 @@ export class HaSelector extends LitElement {
@property({ type: Boolean }) public disabled = false;
public focus() {
this.shadowRoot!.getElementById("selector")?.focus();
this.shadowRoot?.getElementById("selector")?.focus();
}
private get _type() {