oruga icon indicating copy to clipboard operation
oruga copied to clipboard

Initial value passed is not reflecting on Range Slider

Open vindru opened this issue 3 years ago • 1 comments

Overview of the problem

Oruga version: [0.5.4] Vuejs version: [3.0.0] Macos/Chrome:

Description

Initial value passed is not reflecting on Range Slider.

 <o-field>
      <o-slider v-model="numbers" :min="1" :max="15" :step="0.5" ticks> </o-slider>
  </o-field>
  
  data() {
      return {
        numbers: [2, 5]
      }
   }  

Expected behavior

Expected, [2, 5] as the initial value for slider

Actual behavior

Getting, [2,2] as the initial value for slider

This code is storing minValue to both value1 and value2.

vindru avatar May 25 '22 16:05 vindru

@vindru i'm not able to reproduce on current dev branch (0.5.5), can you share a condesandbox or similar?

jtommy avatar Aug 08 '22 21:08 jtommy