diff --git a/packages/synapse-bridge/src/patterns/DatePicker/DatePicker.vue b/packages/synapse-bridge/src/patterns/DatePicker/DatePicker.vue index f2fb3cab3..407270d6d 100644 --- a/packages/synapse-bridge/src/patterns/DatePicker/DatePicker.vue +++ b/packages/synapse-bridge/src/patterns/DatePicker/DatePicker.vue @@ -63,6 +63,9 @@ export default defineComponent({ noCalendar: { type: Boolean, default: false }, outlined: { type: Boolean, default: false }, }, + mounted() { + this.updateMessages() + }, computed: { calendarDateFormat() { // cf : https://vue3datepicker.com/props/formatting/#format @@ -294,7 +297,11 @@ export default defineComponent({ @update:focused=" (e: boolean) => { handleFocusChange(e) - e ? onFocus() : computedTextFieldValue.isValid() ? onBlur() : null + e + ? onFocus() + : computedTextFieldValue.isValid() + ? onBlur() + : null } " @click:clear="onClear"