Skip to content

Commit 2360305

Browse files
authored
fix(select): color for disabled state (#DS-4574) (#1330)
1 parent b34360c commit 2360305

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

packages/components/select/select.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,8 @@ export class KbqSelect
625625
'kbq-control_has-validate-directive'
626626
);
627627

628-
// @TODO fix disabled state color (#DS-4574)
628+
if (this.disabled) return KbqComponentColors.Empty;
629+
629630
return (hasLegacyValidateDirective && this.ngControl?.invalid) || this.errorState
630631
? KbqComponentColors.Error
631632
: KbqComponentColors.ContrastFade;
-39 Bytes
Loading
-62 Bytes
Loading

0 commit comments

Comments
 (0)