mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix selecting no category message (#20268)
This commit is contained in:
parent
e5c43fcfcd
commit
11cf2ec39d
@ -226,6 +226,8 @@ export class HaCategoryPicker extends SubscribeMixin(LitElement) {
|
||||
|
||||
if (newValue === NO_CATEGORIES_ID) {
|
||||
newValue = "";
|
||||
this.comboBox.setInputValue("");
|
||||
return;
|
||||
}
|
||||
|
||||
if (![ADD_NEW_SUGGESTION_ID, ADD_NEW_ID].includes(newValue)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user