Dynamic orientation not working
Opened this issue · 2 comments
Hi, I'm making a dynamic input with the Veeno slider. I have a preview function and it should show in realtime how the input would look like after editing the input.
It looks good but Veeno doesn't update in realtime to render vertically or horizontally after I update it the orientation variable. However, it does re-render perfectly when the veeno component is not shown and then re-shown.
Do you have any work-arounds or fixes for this? Thanks.
Here is how the veeno component looks like.
<veeno v-show="question.question_type=='Range'" v-model="input_value" pipsy :step=".1" :vertical="(question.others.orientation=='Vertical')" tooltips :handles="1.5" :range = "{ 'min': 1, 'max': 3 }" > {{ input_value }}cm </veeno>
Was able to make a work-around by creating two instances and showing one or the other, however, let me know if there is a better one. Thanks.
Hello @SleepingProgrammer,
did you see this issue? I believe you need set
prop to update slider.