Skip to content

Commit

Permalink
rename sliderOptions to noUiSliderOptions to follow schema logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Sep 21, 2016
1 parent b97c6bd commit 7f4afa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fields/fieldNoUiSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
ready() {
if (window.noUiSlider) {
this.slider = this.$el;
window.noUiSlider.create(this.slider, defaults(this.schema.sliderOptions || {}, {
start: this.value != null ? this.value : this.schema.min,
window.noUiSlider.create(this.slider, defaults(this.schema.noUiSliderOptions || {}, {
start: this.getStartValue(),
range: {
"min": this.schema.min,
"max": this.schema.max
Expand Down

0 comments on commit 7f4afa9

Please sign in to comment.