File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
client/packages/lowcoder/src/comps/comps/selectInputComp Expand file tree Collapse file tree 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";
2424import { RefControl } from "comps/controls/refControl" ;
2525import { migrateOldData } from "comps/generators/simpleGenerators" ;
2626import { fixOldInputCompData } from "../textInputComp/textInputConstants" ;
27+ import Tooltip from "antd/es/tooltip" ;
2728
2829export const getStyle = ( style : CheckboxStyleType ) => {
2930 return css `
@@ -182,7 +183,11 @@ let CheckboxBasicComp = (function () {
182183 options = { props . options
183184 . filter ( ( option ) => option . value !== undefined && ! option . hidden )
184185 . map ( ( option ) => ( {
185- label : option . label ,
186+ label : (
187+ < Tooltip title = { option . label } >
188+ < span > { option . label } </ span >
189+ </ Tooltip >
190+ ) ,
186191 value : option . value ,
187192 disabled : option . disabled ,
188193 } ) ) }
You can’t perform that action at this time.
0 commit comments