[英]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 HTML代码
<div class="form-group">
<input class="form-control timepicker" type="text" placeholder="End Time" id="timepicker-two" />
</div>
JS code JS代码
$('.timepicker').wickedpicker();
This is the link i have downloaded 这是我下载的链接
https://github.com/ericjgagnon/wickedpicker 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. 我可以发现,clearable是唯一接近此的选项。 But all it seems to do is allow the user to delete the field.
但是似乎要做的就是允许用户删除该字段。 It does not allow for a manual entry though.
但是,它不允许手动输入。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.