HI i need to add owlDateTimeTrigger in angular 16 microfrontent but it show error. please check the below screenshot.
Code:
<ng-template #childtemplateSheduleTime let-data> <input [(ngModel)]="data.pipe" [min]="smModel.min" [max]="smModel.max" class="form-control" placeholder="Select Date and Time" [owlDateTimeTrigger]="pipelineDtPicker1" [owlDateTime]="pipelineDtPicker1"> <span [owlDateTimeTrigger]="pipelineDtPicker1" class="calender-icon"> <owl-date-time [startAt]="smModel.startAt" #pipelineDtPicker1>
Thanks
Ensure that you have the modules
OwlDateTimeModule
andOwlNativeDateTimeModule
imported in yourapp.module.ts
stackblitz Demo not by me