enforceStep allows the values to get outside of the allowed range
reubenturk-ga opened this issue · 0 comments
reubenturk-ga commented
If your range is not divisible by the step, then the enforceStep option can allow selection of values outside of the range.
Here's an example: https://stackblitz.com/edit/ngx-slider-range-slider-example-n8npim?file=src%2Fapp%2Fapp.component.ts
Using these options:
options: Options = {
floor: 0,
ceil: 97,
step: 10,
enforceStep: true
};
In that example it is possible select 100 for the high value, either using the arrow keys or with the mouse.