updateOptions no update format
See original GitHub issueHello, updateOptions
function works to change ranges but I can not change the format, I also need to update if is 0 or 1 decimating but I fail to do this. May review? this is my code.
function updateSliderRangeYuzo ( input_object, start, min, max, steps, decimals, value, text_show ) {
input_object.noUiSlider.updateOptions({
range: {
'min': min,
'max': max
},
start: [ start ],
step: steps,
format: wNumb({
decimals: decimals, // NO WORK, NO UPDATE
})
});
// Forcing upgrade, but does not work
input_object.noUiSlider.on('update', function( values, handle ) {
var value = values[handle];
$(text_show).text( value );
$(value).val( value );
});
}
$("#yuzo_theme_standdar_filter_normal").on("change",function(){
updateSliderRangeYuzo( document.getElementById('yuzo_theme_standar__filter_normal_value-range') ,
1,
0.1,
10,
0.1,
1,
document.getElementById('yuzo_theme_standar__filter_normal_value'),
document.getElementById('yuzo_theme_standar__filter_normal_value-value')
);
});
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
chartoptions not updating through updateOptions ... - GitHub
i am implementing chart drilldown so updating option from chartOptions1 to chartOptions2 not working properly. data(xaxis.categories) gets ...
Read more >noUiSlider - Disabling, Updating and Styling - Refreshless.com
Events are unbound when destroying a slider. The update method can be called as: slider.noUiSlider.updateOptions( newOptions, ...
Read more >Apexcharts updateOptions xaxis label - Stack Overflow
I have such an example in which I would like to change the series of data ... this is some weird format, I...
Read more >-u (Update options) switch - 7-Zip
Specifies how to update files in an archive and (or) how to create new archives. ... are no problems, if both file system...
Read more >Insert or Update in a Single Operation — Java Sync - MongoDB
Inserts a document if there are no matches to your query filter ... with the updateOne() or updateMany() methods, pass true to UpdateOptions.upsert()...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The documentation also does not list it as an updateable option. I think it could be added, though.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.