You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the clear button should NOT copy the old date value to the other empty date in an input-daterange setup. The other empty date should remain empty, just like the behavior in version 1.9.0.
Actual behaviour
Clicking the clear button clears date, but copies old value to other empty date in input-daterange
Datepicker version used
1.10.0
Example code
Not the full code, but here is how the datepicker is applied to the input-daterange:
// FYI: config is unchanged since moving to 1.10.0 from working version 1.9.0
$('.input-daterange').datepicker({
format: "mm/dd/yyyy",
clearBtn: true,
forceParse: true,
autoclose: true,
todayHighlight: true,
setDate: new Date()
});
The text was updated successfully, but these errors were encountered:
Expected behaviour
Clicking the clear button should NOT copy the old date value to the other empty date in an input-daterange setup. The other empty date should remain empty, just like the behavior in version 1.9.0.
Actual behaviour
Clicking the clear button clears date, but copies old value to other empty date in input-daterange
Datepicker version used
1.10.0
Example code
Not the full code, but here is how the datepicker is applied to the input-daterange:
// FYI: config is unchanged since moving to 1.10.0 from working version 1.9.0
$('.input-daterange').datepicker({
format: "mm/dd/yyyy",
clearBtn: true,
forceParse: true,
autoclose: true,
todayHighlight: true,
setDate: new Date()
});
The text was updated successfully, but these errors were encountered: