Skip to content

Commit

Permalink
fix: backgroundColor fix added
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Apr 26, 2024
1 parent d47b822 commit 6a737e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Components/DropdownField.res
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ let make = (
<div className={`Input ${className} appearance-none relative`}>
<RenderIf condition={isDisplayValueVisible && displayValue->Option.isSome}>
<div
className="absolute top-2.5 right-0 left-2 bottom-0 pointer-events-none bg-white rounded-sm">
className="absolute top-2.5 right-0 left-2 bottom-0 pointer-events-none rounded-sm"
style={ReactDOMStyle.make(
~background=disabled ? disbaledBG : themeObj.colorBackground,
~borderRadius="6px",
(),
)}>
{React.string(displayValue->Option.getOr(""))}
</div>
</RenderIf>
Expand Down

0 comments on commit 6a737e2

Please sign in to comment.