mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-10 15:42:27 +03:00
fix: should return [null, null] when clear range
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ export default {
|
||||
}
|
||||
},
|
||||
handleClear() {
|
||||
this.emitValue(null);
|
||||
this.emitValue(this.range ? [null, null] : null);
|
||||
this.$emit('clear');
|
||||
},
|
||||
handleConfirmDate() {
|
||||
|
||||
Reference in New Issue
Block a user