Angular 9
RobertasM opened this issue · comments
I'm getting error after migrating to Angular 9:
core.js:3866 ERROR TypeError: Cannot read property 'nativeElement' of undefined
at SliderComponent.push../node_modules/ngx-bootstrap-slider/ivy_ngcc/fesm5/ngx-bootstrap-slider.js.SliderComponent.ngOnInit (ngx-bootstrap-slider.js:442)
at callHook (core.js:2642)
at callHooks (core.js:2612)
at executeInitAndCheckHooks (core.js:2565)
at refreshView (core.js:7454)
at refreshComponent (core.js:8569)
at refreshChildComponents (core.js:7242)
at refreshView (core.js:7485)
at refreshComponent (core.js:8569)
at refreshChildComponents (core.js:7242)
Is this library compatible with newest Angular version? How to fix this error?
A new version has just been published, which makes this library compatible with Angular 9. Please try it out and let us know, if something still does not work.
Hi @moritzvieli I have the same error, which version can i use of ngx-bootstrap-slider for Angular 9