current date custom in datepicker

This commit is contained in:
ogerly 2023-01-16 19:39:22 +01:00
parent f3ae7a02e9
commit 01093d026f
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<b-form <b-form
ref="form" ref="form"
@submit.prevent="submit" @submit.prevent="submit"
class="border p-3 bg-white appBoxShadow gradido-border-radius" class="p-3 bg-white appBoxShadow gradido-border-radius"
> >
<label>{{ $t('contribution.selectDate') }}</label> <label>{{ $t('contribution.selectDate') }}</label>
<b-form-datepicker <b-form-datepicker

View File

@ -118,7 +118,7 @@ export default {
if (num !== 0) { if (num !== 0) {
this.form = { this.form = {
id: null, id: null,
date: '', date: new Date(),
memo: '', memo: '',
hours: 0, hours: 0,
amount: '', amount: '',