tb / ng2-nouislider

Angular2 noUiSlider directive
http://tb.github.io/ng2-nouislider/
MIT License
184 stars 114 forks source link

[ngModelOptions] isn't a known property of 'nouislider' #122

Closed danielcrisp closed 6 years ago

danielcrisp commented 6 years ago

I'm trying to use the slider inside a form created using reactive forms, however I want to use [(ngModel)] because the value isn't directly related to the encapsulating form.

Normally in this situation I can use [ngModelOptions]="{standalone: true}" but it seems that it is not supported.

danielcrisp commented 6 years ago

Ok I think you can ignore me... it was only erroring when I was testing it outside of the reactive form. Once inside it works fine.