@@ -5,7 +5,7 @@ import { ChangeEventHandlerControl } from "../../controls/eventHandlerControl";
5
5
import { Section , sectionNames } from "lowcoder-design" ;
6
6
import { RecordConstructorToComp } from "lowcoder-core" ;
7
7
import { styleControl } from "comps/controls/styleControl" ;
8
- import { LabelStyle , SliderStyle , SliderStyleType } from "comps/controls/styleControlConstants" ;
8
+ import { ComponentStyle , LabelStyle , SliderStyle , SliderStyleType } from "comps/controls/styleControlConstants" ;
9
9
import styled , { css } from "styled-components" ;
10
10
import { default as Slider } from "antd/es/slider" ;
11
11
import { darkenColor , fadeColor } from "lowcoder-design" ;
@@ -71,6 +71,7 @@ export const SliderChildren = {
71
71
labelStyle :styleControl ( LabelStyle . filter ( ( style ) => [ 'accent' , 'validate' ] . includes ( style . name ) === false ) ) ,
72
72
prefixIcon : IconControl ,
73
73
suffixIcon : IconControl ,
74
+ field :styleControl ( ComponentStyle )
74
75
} ;
75
76
76
77
export const SliderPropertyView = (
@@ -101,6 +102,9 @@ export const SliderPropertyView = (
101
102
< Section name = { sectionNames . labelStyle } >
102
103
{ children . labelStyle . getPropertyView ( ) }
103
104
</ Section >
105
+ < Section name = { sectionNames . field } >
106
+ { children . field . getPropertyView ( ) }
107
+ </ Section >
104
108
</ >
105
109
) }
106
110
</ >
0 commit comments