Time range selection (min, max) not working correctly
See original GitHub issueIssue Description
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!
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Min Date and Max Date not working Angular Material Range ...
I'm trying to get the max to be the same day, I mean today. export class DateComponent implements OnInit, { minDate: Date; maxDate: ......
Read more >Solved: Between slicer issue while capturing Min and Max v...
I have a report where I have a slicer on date which allows user to select date for a range. When I try...
Read more >ion-datetime
While the min and max properties allow you to restrict date selection to a certain range, the monthValues , dayValues , yearValues ,...
Read more >Date & Time Min & max values Example - Mobiscroll
Configuring minimum and maximum selectable values is great for reducing mistakes. Help people by limiting the selections for the task at hand. Use...
Read more >setExtremes is not returning accurate min/max values for the ...
step 2: And now i move right handle to 14th may, I get e.min: ... seems to me that your problem it only...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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