fix: background colour for disabled select option (#9320)

* Fix disabled bg colour in CheckedTeamSelect

* Fix disabled bg colour in CheckedSelect, CheckedUserSelect, ChildrenEventTypeSelect
This commit is contained in:
Ujwal Kumar authored and GitHub committed 2023-06-04 18:46:19 +00:00
1 parent 2640040359
commit fd9cd1b98b
5 files changed
+1 -24

No files matched your search

@@ -26,12 +26,6 @@ export const CheckedSelect = ({
return (
<>
<Select
styles={{
option: (styles, { isDisabled }) => ({
...styles,
backgroundColor: isDisabled ? "#F5F5F5" : "inherit",
}),
}}
name={props.name}
placeholder={props.placeholder || t("select")}
isSearchable={false}