Bootstrap timepicker goes negative when clicking up and down arrow
问题 In the input field of timepicker, initially I just need placeholder there and I decided to set defaultTime as false: <input type="text" class="timepicker" placeholder="Enter time"> <script> $('.timepicker').timepicker({ defaultTime:false }); </script> But after setting default time to false, whenever I click up and down arrow for changing time the hour value goes negative. In the documenation I found nothing helpful for this issue. How do I get rid off that negative values ? Any help would be