Skip to content

Commit

Permalink
Fix shrink on 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Jul 22, 2022
1 parent bb7ee7d commit 22b15e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectControl/SelectControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const SelectControl = ({
</Listbox.Options>
</Transition>
</Listbox>
<InputLabel id={uniqueName} shrink={!!value}>
<InputLabel id={uniqueName} shrink={value !== undefined || value !== null}>
{label}
</InputLabel>
</div>
Expand Down

0 comments on commit 22b15e7

Please sign in to comment.