Clear Area picker when "Add new area" was canceled (#19088)

This commit is contained in:
Matthias Alphart
2023-12-20 22:17:31 +01:00
committed by GitHub
parent af9b64c6f0
commit 58eebf2dbd

View File

@@ -446,6 +446,7 @@ export class HaAreaPicker extends LitElement {
cancel: () => { cancel: () => {
this._setValue(undefined); this._setValue(undefined);
this._suggestion = undefined; this._suggestion = undefined;
this.comboBox.setInputValue("");
}, },
}); });
} }