I'm not sure if this is a bug or I'm just a bit stupid. Tried to find a solution but had no luck so far.
I'm trying to change the data-options for a slider (Foundation 6.4.2). My code sets the range to new parameters, but the slider still use the old parameters. I can see at runtime, that the new options are there, but they are not used.
I created a Pen to show the issue: https://codepen.io/XSized/pen/djyVjm
I initialize the slider with start:0; step:0.5; end:12; and change it to start:5; step:0.5; end:20; - I can see the options in the code in DevTools, but the slider still use end:12 and not 20. And I have no idea why...