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

Showing 12am as an option in use12Hours format even though disabledHours array contains 0

Open RajuSuranagi opened this issue 6 years ago • 4 comments

When disabling hours before a specified time, the picker leaves 12 am as an option. I even tried with pushing 24 instead of 0 in the disabledHours array.

RajuSuranagi avatar Mar 05 '18 14:03 RajuSuranagi

Could you reproduce your issue on https://codesandebox.io?

yesmeck avatar Mar 06 '18 13:03 yesmeck

Also, if I am returning all postmeridian hours as disabled hours, the PM option should be hidden/disabled based on hideDisabledOptions flag. My disabled hours are only am hours but even they are not coming. https://codesandbox.io/s/1vljwom8xl

RajuSuranagi avatar Oct 24 '18 12:10 RajuSuranagi

@RajuSuranagi did you got the answer for the above issue?

Nastiona-Slastiona avatar Jun 16 '22 14:06 Nastiona-Slastiona

No @Nastiona-Slastiona.

RajuSuranagi avatar Jun 20 '22 08:06 RajuSuranagi