Fixed dropdown color when it is not global
This commit is contained in:
parent
5d40faf220
commit
43e6c315cf
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ export default function InputComponent({
|
|||
blurOnEnter = false,
|
||||
optionsIcon = "ChevronsUpDown",
|
||||
selectedOption,
|
||||
|
||||
setSelectedOption,
|
||||
selectedOptions = [],
|
||||
setSelectedOptions,
|
||||
|
|
@ -164,7 +165,7 @@ export default function InputComponent({
|
|||
e.stopPropagation();
|
||||
}}
|
||||
className={cn(
|
||||
selectedOption !== ""
|
||||
onChange && setSelectedOption && selectedOption !== ""
|
||||
? "text-medium-indigo"
|
||||
: "text-muted-foreground",
|
||||
"hover:text-accent-foreground",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue