mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
current date custom in datepicker
This commit is contained in:
parent
f3ae7a02e9
commit
01093d026f
@ -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
|
||||||
|
|||||||
@ -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: '',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user