We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fbc155 commit 8429d11Copy full SHA for 8429d11
src/components/ha-combo-box.ts
@@ -207,6 +207,7 @@ export class HaComboBox extends LitElement {
207
aria-expanded=${this.opened ? "true" : "false"}
208
class="toggle-button"
209
.path=${this.opened ? mdiMenuUp : mdiMenuDown}
210
+ ?disabled=${this.disabled}
211
@click=${this._toggleOpen}
212
></ha-svg-icon>
213
</vaadin-combo-box-light>
@@ -359,6 +360,10 @@ export class HaComboBox extends LitElement {
359
360
:host([opened]) .toggle-button {
361
color: var(--primary-color);
362
}
363
+ .toggle-button[disabled] {
364
+ color: var(--disabled-text-color);
365
+ pointer-events: none;
366
+ }
367
.clear-button {
368
--mdc-icon-size: 20px;
369
top: -7px;
0 commit comments