mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-12 07:47:21 +00:00
fix: Custom optional Date field issue
This commit is contained in:
@@ -72,11 +72,9 @@ export default {
|
||||
deep: true,
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
this.date =
|
||||
this.field && this.field.defaultAnswer
|
||||
? this.field.defaultAnswer
|
||||
: new Date()
|
||||
this.field && this.field.defaultAnswer && this.field.defaultAnswer
|
||||
this.placeholder =
|
||||
this.field && this.field.placeholder ? this.field.placeholder : ''
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user