Open ebrister opened 6 years ago
I am experiencing the same issue. config
doesn't change after the initial assignment.
Any updates on this problem yet?
Old issue and still no solution?!
bump any way to workaround this?
Edit: According to the source, changes to the config are updated, but only a select few:
if (this.slider && (changes.min || changes.max || changes.step || changes.range)) {
setTimeout(() => {
this.slider.updateOptions({
range: Object.assign({}, {
min: this.min,
max: this.max
}, this.range || {}),
step: this.step
});
});
}
}
I need to change the pips at runtime, any reason why this change is not part of this method?
Changes to config attribute are not reflected. It appears to be not implemented in ngOnChanges.
<nouislider [config]="configObject|async" ngModel="{{Value|async}}" (change)="changeValue($event)"></nouislider>