Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96da6e4

Browse files
authored
Merge pull request#634 from raheeliftikhar5/color-picker-fix
fix for color picker to show selected color
2 parents8ee1306 +6e1ba90 commit96da6e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎client/packages/lowcoder-design/src/components/colorSelect/index.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export const ColorSelect = (props: ColorSelectProps) => {
3131
},200),
3232
[dispatch]
3333
);
34-
3534
return(
3635
<Popover
3736
trigger={trigger}
@@ -170,7 +169,7 @@ const BackDiv = styled.div.attrs<{ $color: string }>((props: { $color: string })
170169
`;
171170
// main block
172171
constColorBlock=styled.div<{$color:string}>`
173-
background-color:${(props)=>(isValidColor(props.$color) ?props.color :"#FFFFFF")};
172+
background-color:${(props)=>(isValidColor(props.$color) ?props.$color :"#FFFFFF")};
174173
border: 1px solid rgba(0, 0, 0, 0.1);
175174
border-radius: 4px;
176175
height: 24px;

‎client/packages/lowcoder/src/comps/queries/resourceDropdown.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const SelectOptionContains = styled.div`
3939
align-items: center;
4040
width: 99%;
4141
`;
42-
constSelectOption=styled((props:OptionProps)=><Option{...props}/>)`
42+
constSelectOption=styled(Option)`
4343
display: flex;
4444
justify-content: space-between;
4545

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp