Closed stijnbollen closed 3 years ago
I'm using ng2-nouislider@1.8.2 and nouislider@14.6.2 to create a very simple slider
<nouislider [attr.disabled]="disabled" [config]="config" [max]="maxValue" [min]="minValue" [step]="step" [(ngModel)]="selectedValue" (ngModelChange)="handleChange()" (update)="handleUpdate()" (start)="handleStart($event)"> </nouislider>
with config
config = { direction: this.directionStr, // 'rtl' or 'ltr' orientation: this.orientationStr // 'vertical' or 'horizontal' };
and when I change the value, I get: ERROR TypeError: Cannot read property 'from' of undefined at NouisliderComponent.toValues
ERROR TypeError: Cannot read property 'from' of undefined at NouisliderComponent.toValues
It should be using DefaultFormatter.
the problem was gone after reinstalling.
I'm using ng2-nouislider@1.8.2 and nouislider@14.6.2 to create a very simple slider
with config
and when I change the value, I get:
ERROR TypeError: Cannot read property 'from' of undefined at NouisliderComponent.toValues
It should be using DefaultFormatter.