updates
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user