errors in red, datepicker localized

This commit is contained in:
Moriz Wahl 2022-07-26 12:01:14 +02:00
parent f01225e400
commit 2eaf93bb34
3 changed files with 12 additions and 0 deletions

View File

@ -23,6 +23,9 @@ describe('ContributionForm', () => {
creation: ['1000', '1000', '1000'],
},
},
$i18n: {
locale: 'en',
},
}
const Wrapper = () => {

View File

@ -18,6 +18,7 @@
id="contribution-date"
v-model="form.date"
size="lg"
:locale="$i18n.locale"
:max="maximalDate"
:min="minimalDate"
class="mb-4"
@ -168,3 +169,8 @@ export default {
},
}
</script>
<style>
span.errors {
color: red;
}
</style>

View File

@ -26,6 +26,9 @@ describe('Community', () => {
creation: ['1000', '1000', '1000'],
},
},
$i18n: {
locale: 'en',
},
}
const Wrapper = () => {