Fixed dropdown color when it is not global

This commit is contained in:
Lucas Oliveira 2024-06-10 14:08:39 -03:00
commit 43e6c315cf

View file

@ -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",