File tree 1 file changed +6
-1
lines changed
client/packages/lowcoder/src/comps/comps/selectInputComp
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { trans } from "i18n";
24
24
import { RefControl } from "comps/controls/refControl" ;
25
25
import { migrateOldData } from "comps/generators/simpleGenerators" ;
26
26
import { fixOldInputCompData } from "../textInputComp/textInputConstants" ;
27
+ import Tooltip from "antd/es/tooltip" ;
27
28
28
29
export const getStyle = ( style : CheckboxStyleType ) => {
29
30
return css `
@@ -182,7 +183,11 @@ let CheckboxBasicComp = (function () {
182
183
options = { props . options
183
184
. filter ( ( option ) => option . value !== undefined && ! option . hidden )
184
185
. map ( ( option ) => ( {
185
- label : option . label ,
186
+ label : (
187
+ < Tooltip title = { option . label } >
188
+ < span > { option . label } </ span >
189
+ </ Tooltip >
190
+ ) ,
186
191
value : option . value ,
187
192
disabled : option . disabled ,
188
193
} ) ) }
You can’t perform that action at this time.
0 commit comments