Skip to content

Commit

Permalink
[Joy] Fix list value of false or 0 (zero) text is incorrectly grey (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kushagra010 committed Sep 12, 2022
1 parent 6d5558a commit 61dddcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Select/Select.tsx
Expand Up @@ -178,7 +178,7 @@ const SelectButton = styled('button', {
alignItems: 'center',
flex: 1,
cursor: 'pointer',
...(!ownerState.value && {
...((ownerState.value === null || ownerState.value === undefined) && {
opacity: 'var(--Select-placeholderOpacity)',
}),
}));
Expand Down

0 comments on commit 61dddcd

Please sign in to comment.