ngx-material-timepicker: Time range selection (min, max) not working correctly
We’re using ngx-material-timepicker in our project and came across an issue in range time selection. Here is input element for time-picker.
<input matInput type="text" [ngClass]="{'time myInput': true, smallFont: popupView}" formControlName="time" [ngxTimepicker]="picker" placeholder="Add time" min="09:00 am" max="03:00 pm" readonly>
<ngx-material-timepicker [ngClass]="{'timePicker': true}" (timeSet)="onTimeSet($event)" #picker></ngx-material-timepicker>
Expected: It should allow to select anytime between 09:00 am to 03:00 pm.
Problem: 12:00 pm to 12:59 pm can’t be selected. Event though it lies within the above range.
Two screenshots are attached to support above argument.
Thanks in advance for any help!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (10 by maintainers)
Hey Agranom! This issue seems resolved in version 2.8.0. Thanks for your great support, I’m closing it.
I see. I’ll check it