hello, is it possible to override the pips mode/density on the nouislider custom widget from what is set in survey-widgets.js.
One issue I'm having is if there is an even amount of values (ie: 1-10), 6 becomes the default value and is incorrectly scaled as the middle pip in both the editor and survey
nouislider modify pips mode or values
created 6 years ago
(modified 6 years ago)
Hello,
I have introduces additional "pips" options:
{ type: "nouislider", name: "range", title: "Please range", pipsMode: "positions", pipsValues: [0, 20, 40, 60, 80, 100], pipsDensity: 1 },
via the following commit - https://github.com/surveyjs/widgets/commit/cc0e9c7c508eb22f59fddb7bcdd4b15f7c16085c
Feature will be available in the nearest update.
Thanks, Serge
SurveyJS Team