This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
:error="!!error"
|
||||
></v-text-field>
|
||||
</template>
|
||||
<v-date-picker v-model="dateOnly" @input="dlgdate = false">
|
||||
<v-date-picker v-model="dateOnly">
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text color="primary" @click="dlgdate = false">Close</v-btn>
|
||||
</v-date-picker>
|
||||
@@ -38,7 +38,7 @@
|
||||
/* Xeslint-disable */
|
||||
export default {
|
||||
beforeCreate() {
|
||||
//debugger;
|
||||
//debugger;@input="dlgdate = false"
|
||||
//this is a nothing line as a test
|
||||
//check pre-requisites exist just in case
|
||||
if (window.$gz.errorHandler.devMode()) {
|
||||
@@ -65,8 +65,10 @@ export default {
|
||||
date() {
|
||||
//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) {
|
||||
|
||||
if (this.date != this.oldDate) {
|
||||
hasChanged = true;
|
||||
}
|
||||
this.oldDate = this.date;
|
||||
|
||||
Reference in New Issue
Block a user