Thanks to visit codestin.com Credit goes to github.com
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 de854f1 commit ce2d2dbCopy full SHA for ce2d2db
client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnSelectComp.tsx
@@ -53,8 +53,14 @@ export const ColumnSelectComp = (function () {
53
childrenMap,
54
(props, dispatch) => {
55
options = props.options;
56
- const value = props.changeValue ?? getBaseValue(props, dispatch)
57
- return props.options.find(x => x.value === value)?.label;
+ const value = props.changeValue ?? getBaseValue(props, dispatch);
+ const option = props.options.find(x => x.value === value);
58
+ return (
59
+ <>
60
+ <span>{option?.prefixIcon}</span>
61
+ <span>{option?.label}</span>
62
+ </>
63
+ );
64
},
65
(nodeValue) => nodeValue.text.value,
66
getBaseValue,
0 commit comments