I’m using the latest Ionic version. in my Ionic2 project I build a form with FormBuilder. The normal range slider works fine, however the dualKnobs version does not return any values.
In the constructor of my class I declare the form fields like this:
this.userProfileForm = fb.group({
'lookingForAge': [''],
'lookingForRadius': ['50', Validators.compose([Validators.required])],
});
this.lookingForAge = this.userProfileForm.controls['lookingForAge'];
this.lookingForRadius = this.userProfileForm.controls['lookingForRadius'];
In my template for debug purposes I show the values using
<h1>{{lookingForRadius.value | json}}</h1>
<h1>{{lookingForAge.value | json}}</h1>
the first line shows the value "50"
. the second line shows “”… when I use the dualKnow slider, it shows
{ "lower": null, "upper": null }
Maybe I’m missing something here, but I think this is a bug.