Closed sumegha26 closed 1 year ago
There is not enough information here for me to do anything.
Hi, @leongersen
This is issue in ng2-nouislider
-
Error - when slider is not defined - Cannot read properties of undefined (reading 'destroy')-> this.slider.destroy()
Fix -
Add check if slider is defined
if (this.slider) {
this.slider.destroy();
}
or this.slider?.destroy();
@leongersen any update on this ??
I have the latest version and getting this error:
Cannot read properties of undefined (reading 'destroy')-> this.slider.destroy()
Can you please check this ?
"nouislider": "^15.7.0",
"ng2-nouislider": "^2.0.0",