From 633c89f082ca16fd9a138e13bb68c7cc8b14e05c Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 19 Jan 2023 12:59:17 +0100 Subject: [PATCH 1/2] change dropdown placement calender no-flip true --- frontend/src/components/Contributions/ContributionForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index e9f99848f..84059dcbd 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -17,7 +17,7 @@ :label-no-date-selected="$t('contribution.noDateSelected')" required :disabled="this.form.id !== null" - :dropleft="true" + :no-flip="true" > From ac15586f34f09281d41a9862a5d62e16832fc4e1 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 19 Jan 2023 13:05:58 +0100 Subject: [PATCH 2/2] reduce min value to 0.25 to be consistent --- frontend/src/components/Contributions/ContributionForm.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index e9f99848f..b70404c9b 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -35,12 +35,12 @@ v-model="form.hours" :name="$t('form.hours')" :label="$t('form.hours')" - placeholder="0.5" + placeholder="0.25" :rules="{ required: true, - min: 0.5, + min: 0.25, max: validMaxTime, - gddCreationTime: [0.5, validMaxTime], + gddCreationTime: [0.25, validMaxTime], }" :validMaxTime="validMaxTime" @updateAmount="updateAmount"