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
}
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 }