Angular range slider step

Is there a way to customize the step on the range slider in angular? I see that noUiSlider has a step variable, but is there any way we can update that?

I thought by having rounded numbers, numbers that end in 1000’s I would be able to select in the thousands region, but it doesn’t work that way, does anyone have a suggestion?

Hi there,
Thanks for reaching out to us.

For now, we do not provide an option to override the step variable.

If you look at the code of ais-range-slider, we compute step like that.
One option you can try is to create your own range-slider component by using connectRange.

It’s going to be simply copying&pasting the original code, but you can read more here to learn how customization in Angular InstantSearch works.

Let us know how it goes and if you have any question!

1 Like

Sounds good, will give it a shot!

Thank You!