Show validation icon only if the date is complete

This commit is contained in:
leigh-mil
2019-09-25 14:23:33 -04:00
parent e41aeaee25
commit ad86dc33fc
6 changed files with 23 additions and 26 deletions

View File

@@ -36,7 +36,6 @@ export default {
month: this.initialmonth,
year: this.initialyear,
name: this.nameTag,
showValidation: false,
}
},
@@ -190,8 +189,6 @@ export default {
methods: {
onInput: function(e) {
if (this.isDateComplete) this.showValidation = true
emitEvent('field-change', this, {
value: this.formattedDate,
name: this.name,