NightCatSama/vue-slider-component

[vue3.x] Min and Max don't work. No warnings or errors in dev console.

Closed this issue · 1 comments

Describe the bug

I can't get the min and max props to change the range of the slider. The slider is using the default min=0, max=100.Here is my template code:

<VueSlider
                ref="sliderRef"
                v-model="sliderValue"
                :process="proc"
                :interval="0.05"
                :min="10"
                :max="30"
                :dot-size="sliderDotSize"
                :height="sliderHeight"
                class="vslider"
                tooltip="none"
                @change="getThresholds"
                @drag-end="getThresholds"
            >

Additional context (If there is no relevant content, please delete the block)

image

Environment (If you feel unrelated, please delete the block)

  • Docker image node:20.5.0-bullseye
  • Vue version: ^3.4.21
  • Component Version: 4.1.0-beta.7

Closing this issue because min and max are working on a component a few rows higher in my code.