Once I click the input box the time picker will display with the default current time. What I need is to remove the default current time.
Thanks,
Once I click the input box the time picker will display with the default current time. What I need is to remove the default current time.
Thanks,
You basically have three options:
Because the picker constantly updates the field to reflect the time shown on the picker itself, there is no way to make it leave the field blank when the picker is displayed. You'd have to make changes to the code to only call this.inp.val(...) in situations where YOU want the field to be updated.
This is an old post, but I ran into the same issue. From the documentation:
If a picker shows today's date/time instead of the value in the associated field, check that the format of the value matches the format specifier exactly. The value cannot be interpreted if it does not match perfectly!
This includes preceding zeroes. If you prime the field with the date "4/1/15" and anytime is expecting "04/01/15" it will not work correctly.