Date time picker not working after setting autoUpdateInput to false
问题 I have a requirement that when user has a date time exist in database only that time it shows date. But if database doesn't have date time then in text box it must be blank. But when page load datetimepicker set default value in it. So for that I have set autoUpdateInput to false it's working it set textbox to blank. But after that the datetimepicker doesn't set value in textbox. $('.datetimepicker').daterangepicker({ autoUpdateInput: false, singleDatePicker: true, showDropdowns: true,