tb / ng2-nouislider

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

how can I set Range to form control in reactive forms. arrays is considered as value, validater and throws error #110

Closed rammohan201 closed 7 years ago

rammohan201 commented 7 years ago

I am trying to define a form control for a range slider as below. This is failing because second value in array is considered as a validater function. is there any way i can pass range values? this.filtersFormGroup = this.fb.group( { "someRange": [10, 50] // this throws error saying this.validate is not a function }

rammohan201 commented 7 years ago

got solution here. https://github.com/tb/ng2-nouislider/pull/34