@@ -5,7 +5,7 @@ import { ChangeEventHandlerControl } from "../../controls/eventHandlerControl";
55import { Section , sectionNames } from "lowcoder-design" ;
66import { RecordConstructorToComp } from "lowcoder-core" ;
77import { styleControl } from "comps/controls/styleControl" ;
8- import { LabelStyle , SliderStyle , SliderStyleType } from "comps/controls/styleControlConstants" ;
8+ import { ComponentStyle , LabelStyle , SliderStyle , SliderStyleType } from "comps/controls/styleControlConstants" ;
99import styled , { css } from "styled-components" ;
1010import { default as Slider } from "antd/es/slider" ;
1111import { darkenColor , fadeColor } from "lowcoder-design" ;
@@ -71,6 +71,7 @@ export const SliderChildren = {
7171 labelStyle :styleControl ( LabelStyle . filter ( ( style ) => [ 'accent' , 'validate' ] . includes ( style . name ) === false ) ) ,
7272 prefixIcon : IconControl ,
7373 suffixIcon : IconControl ,
74+ field :styleControl ( ComponentStyle )
7475} ;
7576
7677export const SliderPropertyView = (
@@ -101,6 +102,9 @@ export const SliderPropertyView = (
101102 < Section name = { sectionNames . labelStyle } >
102103 { children . labelStyle . getPropertyView ( ) }
103104 </ Section >
105+ < Section name = { sectionNames . field } >
106+ { children . field . getPropertyView ( ) }
107+ </ Section >
104108 </ >
105109 ) }
106110 </ >
0 commit comments