This commit is contained in:
@@ -78,8 +78,8 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
date() {
|
||||
//this tortuous fuckery is required so that the input and change events only fire on a real change, not setup
|
||||
|
||||
//this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load
|
||||
//also it shouldn't signal a change if the values are the same and nothing was effectively changed
|
||||
var hasChanged = false;
|
||||
if (this.oldDate != null && this.date != this.oldDate) {
|
||||
hasChanged = true;
|
||||
|
||||
Reference in New Issue
Block a user