Closed sonicwong closed 6 years ago
Just found out the attribute should be:
[onlyValid]="ov"
Where ov is a variable defined in ts and it is a json object:
ov = {'after': '2017-10-10'};
That's one solution, right. [onlyValid]="{'after': '2017-10-10'}"
should work too.
It would be helpful if update the v3 readme: https://github.com/katemihalikova/ion-datetime-picker/blob/ionic3/README.md
Kindly add same to Readme
My code: <ion-datetime picker [(ngModel)]="datetimeValue" only-valid="{'after': '2017-10-10'}" >
But all date still selectable.