time-picker icon indicating copy to clipboard operation
time-picker copied to clipboard

Selectively disable minutes in AM/PM in 12 hour timepicker

Open tckastanek opened this issue 6 years ago • 1 comments

Is there any way to set disabled minutes separately in AM/PM? My use case is that I'm using two timepickers side-by-side to select a start and end time. I need to disable all hours and minutes in the second timepicker prior to the start time in the first. For example, if the start time is, say, 5:35PM, I can properly disable all hours prior to that in the second timepicker (i.e. all AM hours are disabled and 12-4 disabled in PM) but the current behavior will still show minutes 0-34 as selectable in the AM timepicker.

tckastanek avatar Jul 12 '18 14:07 tckastanek

I'd like to bump this up. I also have an issue where we have time ranges and need to disable midnight and only allow users to select 11:59pm.

creatifyme avatar Dec 10 '18 20:12 creatifyme