jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

MinTime and MaxTime can be set only the first time

Open thanhnguyentps opened this issue 8 years ago • 5 comments
trafficstars

Hi guys,

I have a datepicker and timepicker. When I set the datepicker is today, the timepicker should be greater than current time (It's worked right now). But when I change the datetime to the future and I set the minTime again, it's not work (it's still the last minTime). I used this code to set it again

$('#start_time').timepicker('option', 'minTime',

Could you please help to check it?

Thanks, Thanh

thanhnguyentps avatar Aug 31 '17 03:08 thanhnguyentps

The truth is that you can change the value more than once, but only at higher value. edit: I resolve it. First by deleting the value and when I change it, then loading it again.

t0mmic avatar Nov 17 '17 19:11 t0mmic

First by deleting the value and when I change it, then loading it again.

@t0mmic Does it mean you set date to empty then tried ?

jagad89 avatar Mar 28 '18 05:03 jagad89

Hi, I think, that when you retrieve values, first set it empty and after that the correct.

M.

---------- Původní e-mail ---------- Od: Bhavin Jagad [email protected] Komu: trentrichardson/jQuery-Timepicker-Addon <jQuery-Timepicker-Addon@ noreply.github.com> Datum: 28. 3. 2018 7:42:48 Předmět: Re: [trentrichardson/jQuery-Timepicker-Addon] MinTime and MaxTime can be set only the first time (#930) "" First by deleting the value and when I change it, then loading it again. " @t0mmic(https://github.com/t0mmic) Does it mean you set date to empty then tried ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/930#issuecomment-376768227) , or mute the thread (https://github.com/notifications/unsubscribe-auth/AgMsudDmVCezgZGLxWAeKMzUnSOMWyQFks5tiyLTgaJpZM4PIPs_) .

"

t0mmic avatar Mar 28 '18 11:03 t0mmic

Hi, I think, that when you retrieve values, first set it empty and after that the correct. M.

Hi, could you please show an example of how you did it ? I tried to empty the value but still, the minTime never goes down.

FeIix avatar Sep 16 '21 09:09 FeIix

Hi, this is my old project that he didn't end up using.  If anyone wants to use it, they have to finish it. MichalDne 16. 9. 2021 11:59 napsal uživatel FLX @.***>:

Hi, I think, that when you retrieve values, first set it empty and after that the correct. M.

Hi, could you please show an example of how you did it ? I tried to empty the value but still, the minTime never goes down.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

t0mmic avatar Sep 16 '21 14:09 t0mmic