mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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) {
|
if (newValue === NO_CATEGORIES_ID) {
|
||||||
newValue = "";
|
newValue = "";
|
||||||
|
this.comboBox.setInputValue("");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (![ADD_NEW_SUGGESTION_ID, ADD_NEW_ID].includes(newValue)) {
|
if (![ADD_NEW_SUGGESTION_ID, ADD_NEW_ID].includes(newValue)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user