Skip to content

Commit

Permalink
feat: set disabled prop on Select label
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwinch committed Sep 8, 2023
1 parent 1268794 commit 2ebc24a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nervous-humans-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kaizen/select": patch
---

fix Select label font colour when disabled
2 changes: 1 addition & 1 deletion packages/select/src/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const Select = ({
classNameOverride
)}
>
<Label {...labelProps} reversed={isReversed}>
<Label {...labelProps} reversed={isReversed} disabled={isDisabled}>
{label}
</Label>
<HiddenSelect
Expand Down

0 comments on commit 2ebc24a

Please sign in to comment.