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

Commit4ae9f71

Browse files
two or more select columns in table, all editable select columns shows last select column options
1 parenta6e34bd commit4ae9f71

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnSelectComp.tsx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ type SelectEditProps = {
2323
options:any[];
2424
};
2525

26-
constSelectEdit=(props:SelectEditProps)=>{
26+
constSelectEdit=(
27+
props:SelectEditProps,
28+
)=>{
2729
const[currentValue,setCurrentValue]=useState(props.initialValue);
28-
2930
return(
3031
<SelectUIView
3132
value={currentValue}
32-
options={options}
33+
options={props.options}
3334
onChange={(val)=>{
3435
props.onChange(val);
3536
setCurrentValue(val)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp