Show validation icon only if the date is complete
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user