This commit is contained in:
2025-12-03 16:19:39 +02:00
parent 00fe0306f1
commit 188e6ee4ee
3 changed files with 4 additions and 8 deletions
+2 -6
View File
@@ -241,16 +241,12 @@ export class TwoDatePicker {
if (this.opts.cancelable) {
this.target.dxOn('clear', function(e) {
this.target.dxOn('clear', _ => {
that.clear();
Ut.trigger(that.events.onChange, that, null, false);
that.target.dxTrigger('changed');
});
}
// Click outside - Handler
document.body.dxOn('click.two_datepicker' + this.ekey, _ => this.hide());