You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in #165 we discussed, if the display value in the tooltip could be manipulated in order to not show decimal points. However, in this context, i noticed, that the actual value returned by the NoUiSlider is a string "12.34" and not a Number.
I think, it would be better to actually cast the return value to a Number, like so:
Dear @andrewtelnov and @dmitrykurmanov ,
in #165 we discussed, if the display value in the tooltip could be manipulated in order to not show decimal points. However, in this context, i noticed, that the actual value returned by the
NoUiSlider
is a string"12.34"
and not aNumber
.I think, it would be better to actually cast the return value to a
Number
, like so:in this file https://github.com/surveyjs/widgets/blob/master/src/nouislider.js#L103-L105
Beside the type cast, this will not be a breaking change. What do you think?
All the best
The text was updated successfully, but these errors were encountered: