ng2-nouislider icon indicating copy to clipboard operation
ng2-nouislider copied to clipboard

slider doesn't update 'slider buttons' count when range values count was dynamically changed

Open igormap42 opened this issue 6 years ago • 2 comments

I have some range f.e. [30, 100]. I need to change this range to [50, 200, 500] by click on some button in another place.

What I see now: Count of sliders (buttons on a slider) doesn't change when it becomes [50, 200, 500].

Here is my code: <nouislider [min]="min" [max]="max" [step]="step" [tooltips]="tooltips" [(ngModel)]="range"></nouislider>

import { Component, OnInit, Input } from "@angular/core"; @Component({ selector: "app-range-slider", templateUrl: "views/range-slider.component.html", styleUrls: ["styles/range-slider.component.scss"] }) export class RangeSliderComponent implements OnInit { @Input() connect: boolean; @Input() min: number; @Input() max: number; @Input() step: number; @Input() range: number[]; @Input() tooltips: boolean; }

igormap42 avatar Apr 08 '18 11:04 igormap42

@igormap42 have you found a solution? I have the same problem(

AndreyFedotov avatar Jul 23 '19 12:07 AndreyFedotov

@igormap42 have you found a solution? I have the same problem(

Unfortunately no, it's still an issue.

igormap42 avatar Jul 24 '19 06:07 igormap42