Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix-front into dev
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-05-20 08:04:30 +02:00
commit 101298f681
1 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ const validateAndCleanInput = (value) => {
const manageDate = (date) => { const manageDate = (date) => {
inputValue.value = date.split('/').reverse().join('/'); inputValue.value = date.split('/').reverse().join('/');
formatDate();
isPopupOpen.value = false; isPopupOpen.value = false;
}; };
@ -170,7 +171,7 @@ const handleEnter = (event) => {
:input-style="{ color: textColor }" :input-style="{ color: textColor }"
@click="isPopupOpen = !isPopupOpen" @click="isPopupOpen = !isPopupOpen"
@keydown="isPopupOpen = false" @keydown="isPopupOpen = false"
@blur="formatDate" @focusout="formatDate"
@keydown.enter.prevent="handleEnter" @keydown.enter.prevent="handleEnter"
hide-bottom-space hide-bottom-space
:data-cy="($attrs['data-cy'] ?? $attrs.label) + '_inputDate'" :data-cy="($attrs['data-cy'] ?? $attrs.label) + '_inputDate'"