Open matthewhegarty opened 1 year ago
When using 'bootstrap-datetimepicker', if the 'clear' button is clicked, then the date value is cleared, but the inuse highlighting remains. I think it would be ideal if this highlighting were cleared when the 'clear' button is clicked.
inuse
JS Fiddle
To reproduce:
This is the workaround I used to fix this:
$(".daterangepicker").on("dp.change", function (e) { if (e.date === false) { $(e.target).closest("input").removeClass("inuse"); } });
When using 'bootstrap-datetimepicker', if the 'clear' button is clicked, then the date value is cleared, but the
inuse
highlighting remains. I think it would be ideal if this highlighting were cleared when the 'clear' button is clicked.JS Fiddle
To reproduce:
inuse
highlighting remains