简体   繁体   中英

How to edit wicked time picker input field

I am using wicked picker for time and date picker. For time picker input field i cannot edit the time. I can delete time but cannot type. How to manually type the time?

HTML Code

<div class="form-group">
  <input class="form-control timepicker" type="text" placeholder="End Time" id="timepicker-two" />
</div>

JS code

$('.timepicker').wickedpicker();

This is the link i have downloaded

https://github.com/ericjgagnon/wickedpicker

I've been trying to figure this one out too. I've tried the options for clearable, but no luck.

Var options = {
    twentyFour = true,
    clearable = true
};
$('.timepicker').wickedpicker(options);

The clearable is the only option I could find that would come close to this. But all it seems to do is allow the user to delete the field. It does not allow for a manual entry though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM