change locales, disable form if no date

This commit is contained in:
ogerly 2022-07-22 09:09:08 +02:00
parent 85a88d685e
commit ebc6530b12
2 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ export default {
},
disabled() {
if (
this.form.date === '' ||
this.form.memo.length < this.minlength ||
this.form.amount <= 0 ||
this.form.amount > 1000 ||

View File

@ -2,7 +2,7 @@
<div class="community-page">
<div>
<b-tabs v-model="tabIndex" content-class="mt-3" align="center">
<b-tab :title="$t('community.writing')" active>
<b-tab :title="$t('community.submitContribution')" active>
<contribution-form
@set-contribution="setContribution"
@update-contribution="updateContribution"