timepicker icon indicating copy to clipboard operation
timepicker copied to clipboard

disable timerange

Open nmorich opened this issue 8 years ago • 4 comments

is possible to disable time range?

nmorich avatar Feb 09 '17 08:02 nmorich

Hi @nmorich, I'm not sure I understand the question. The way I see it, the timepicker doesn't offer a time range by default. What are you trying to disable exactly?

wvega avatar Feb 10 '17 14:02 wvega

Hello, I have the same question that @nmorich I want disable for example 1:30 PM, for say something, because my idea is build an app of rooms reservations in a hotel and I want disable the hours that already have been taken. Is that posible with this library?

JonatanHenriquez avatar Feb 20 '17 18:02 JonatanHenriquez

This timepicker has no built-in range options. You can find features like that on more active timepickers like https://github.com/jonthornton/jquery-timepicker

designosis avatar Feb 21 '17 20:02 designosis

This issue seems to ask for the same feature as in here: https://github.com/wvega/timepicker/issues/86

I added there a quick workaround for how you can change the existing code in order to exclude/disable a given time.

devhitech avatar Apr 05 '17 07:04 devhitech