Skip to content

Commit

Permalink
Clear Area picker when "Add new area" was canceled (#19088)
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio authored Dec 20, 2023
1 parent af9b64c commit 58eebf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ha-area-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ export class HaAreaPicker extends LitElement {
cancel: () => {
this._setValue(undefined);
this._suggestion = undefined;
this.comboBox.setInputValue("");
},
});
}
Expand Down

0 comments on commit 58eebf2

Please sign in to comment.