Hey there. Can anyone tell me if it is possible to use ion-datetime together with the formbuilder and min/max. I tried to but whenever I add max or min the corresponding FormControl always validates to invalid.
This is what I’ve got right now:
<ion-datetime displayFormat="DD.MM.YYYY HH:mm" min="1950" max="2020" formControlName="evalDate"></ion-datetime>
and in the FormGroup I add
evalDate: [null, Validators.required],
What am I doing wrong? Or is the ion-datetime incompatible with FormBuilder?