Ion-datetime validation


#1

Hello ,

How can i add validation for Ion-datetime ,to validate if user select date or not
what is the type of validation ??


#2

Looks like changes to ion-datetime in a form hosted in ion-itemis not tracked. Actually Angular validation classes (e.g. ng-valid, ng-touched) are not added to the item. Tested ion-datetime in a form without ion-item and it works fine.

Described in closed issue feat: [Feat] Add ion-datetime form validation classes #7270.

Any clue to integrate this kind of input in a list-based form’s life cycle?