We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e34bd commit 4ae9f71Copy full SHA for 4ae9f71
client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnSelectComp.tsx
@@ -23,13 +23,14 @@ type SelectEditProps = {
23
options: any[];
24
};
25
26
-const SelectEdit = (props: SelectEditProps) => {
+const SelectEdit = (
27
+ props: SelectEditProps,
28
+) => {
29
const [currentValue, setCurrentValue] = useState(props.initialValue);
-
30
return (
31
<SelectUIView
32
value={currentValue}
- options={options}
33
+ options={props.options}
34
onChange={(val) => {
35
props.onChange(val);
36
setCurrentValue(val)
0 commit comments