Skip to content

Commit 1c0b5eb

Browse files
authored
change the minimum of the slide control
allows to define horizontal grid cells with size "1" which is easier to work with for imsple stack based forms
1 parent c174d6b commit 1c0b5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/controls/sliderControl.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SliderControl extends SimpleComp<number> {
2020
<ControlPropertyViewWrapper {...params}>
2121
<Slider
2222
style={{ width: "90%", margin: "8px 5% 0 5%"}}
23-
min={8} // Define the minimum value for the slider
23+
min={1} // Define the minimum value for the slider
2424
max={48} // Define the maximum value for the slider
2525
value={this.value || 24}
2626
onChange={(value) => this.dispatchChangeValueAction(value)} // this.dispatchChangeValueAction(value)}

0 commit comments

Comments
 (0)