Open inorganik opened 5 years ago
I noticed that you cannot change min and max inputs if you are also using the config input. In other words, if min/max values change at runtime, they instantly revert to what the slider started with
min
max
config
<nouislider [min]="min" [max]="max" [connect]="true" [step]="1" [formControl]="sliderCtrl" [config]="config"></nouislider>
Here is a stackblitz with repro steps: https://stackblitz.com/edit/angular-d7pkdz
A workaround is to just use other inputs instead of config.
I noticed that you cannot change
min
andmax
inputs if you are also using theconfig
input. In other words, if min/max values change at runtime, they instantly revert to what the slider started with<nouislider [min]="min" [max]="max" [connect]="true" [step]="1" [formControl]="sliderCtrl" [config]="config"></nouislider>
Here is a stackblitz with repro steps: https://stackblitz.com/edit/angular-d7pkdz
A workaround is to just use other inputs instead of config.