We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d40ef commit d810611Copy full SHA for d810611
src/fields/optional/fieldNoUiSlider.vue
@@ -1,7 +1,5 @@
1
<template lang="html">
2
-</template>
3
-<template>
4
- <div class="slider" :disabled="disabled" :class="{ 'contain-pips': containPips, 'contain-tooltip': containTooltip }"></div>
+ <div class="slider" :disabled="disabled" :class="{ 'contain-pips': containPips, 'contain-tooltip': containTooltip }"></div>
5
</template>
6
7
<script>
@@ -49,7 +47,7 @@
49
47
this.slider.noUiSlider.set(value);
50
48
}
51
},
52
- formatValueToModel(val) {
+ formatValueToModel(val) {
53
if(typeof this.slider.noUiSlider !== "undefined"){
54
if (val instanceof Array) {
55
return [Number(val[0]), Number(val[1])];
0 commit comments