Answers for "ionic datetime component trigger on input click"

1

ionic button trigger ion-datetime

<button ion-button icon-right (click)="picker.open()">
    <ion-datetime #picker pickerFormat="DD MMMM YYYY" [min]="datePickerMin" [(ngModel)]="datePicker" (ionChange)="changeDate()"></ion-datetime>
    <ion-icon name="calendar"></ion-icon>
</button>
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language