mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
errors in red, datepicker localized
This commit is contained in:
parent
f01225e400
commit
2eaf93bb34
@ -23,6 +23,9 @@ describe('ContributionForm', () => {
|
|||||||
creation: ['1000', '1000', '1000'],
|
creation: ['1000', '1000', '1000'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
$i18n: {
|
||||||
|
locale: 'en',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const Wrapper = () => {
|
const Wrapper = () => {
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
id="contribution-date"
|
id="contribution-date"
|
||||||
v-model="form.date"
|
v-model="form.date"
|
||||||
size="lg"
|
size="lg"
|
||||||
|
:locale="$i18n.locale"
|
||||||
:max="maximalDate"
|
:max="maximalDate"
|
||||||
:min="minimalDate"
|
:min="minimalDate"
|
||||||
class="mb-4"
|
class="mb-4"
|
||||||
@ -168,3 +169,8 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
span.errors {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -26,6 +26,9 @@ describe('Community', () => {
|
|||||||
creation: ['1000', '1000', '1000'],
|
creation: ['1000', '1000', '1000'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
$i18n: {
|
||||||
|
locale: 'en',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const Wrapper = () => {
|
const Wrapper = () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user