Expose changed date component
This commit is contained in:
parent
eed5708494
commit
90ebd5a72c
6 changed files with 14 additions and 14 deletions
|
@ -317,7 +317,7 @@
|
|||
this.changePanelDate(otherPanel, 'Month', 1, false);
|
||||
}
|
||||
},
|
||||
handleRangePick (val) {
|
||||
handleRangePick (val, type) {
|
||||
if (this.rangeState.selecting || this.currentView === 'time'){
|
||||
if (this.currentView === 'time'){
|
||||
this.dates = val;
|
||||
|
@ -330,7 +330,7 @@
|
|||
selecting: false
|
||||
};
|
||||
}
|
||||
this.handleConfirm(false);
|
||||
this.handleConfirm(false, type || 'date');
|
||||
} else {
|
||||
this.rangeState = {
|
||||
from: val,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue