Code: Select all
<p-calendar class="due-time" name="time-due" timeOnly="true" showTime="showTime" hourFormat="12" stepMinute="15" readonlyInput="readonlyInput"
[(ngModel)]="TimeDue" (ngModelChange)="updateTimeDue()"></p-calendar>
Can't bind to 'stepMinute' since it isn't a known property of 'p-calendar'.
1. If 'p-calendar' is an Angular component and it has 'stepMinute' input, then verify that it is part of this module.
2. If 'p-calendar' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message.
If I change that to [attr.stepMinute]="15", then it gets rid of the error, but it goes back to going up and down by 1. How am I supposed to get stepMinute to actually work?