Skip to content

Commit 7f4afa9

Browse files
author
Lionel Bijaoui
committed
rename sliderOptions to noUiSliderOptions to follow schema logic
1 parent b97c6bd commit 7f4afa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fields/fieldNoUiSlider.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
ready() {
3939
if (window.noUiSlider) {
4040
this.slider = this.$el;
41-
window.noUiSlider.create(this.slider, defaults(this.schema.sliderOptions || {}, {
42-
start: this.value != null ? this.value : this.schema.min,
41+
window.noUiSlider.create(this.slider, defaults(this.schema.noUiSliderOptions || {}, {
42+
start: this.getStartValue(),
4343
range: {
4444
"min": this.schema.min,
4545
"max": this.schema.max

0 commit comments

Comments
 (0)