Merge branch 'master' into hotfix_save_selection_after_reload
gitea/salix-front/pipeline/pr-master This commit is unstable Details

This commit is contained in:
Javier Segarra 2025-05-20 06:19:07 +00:00
commit 0221ca31e7
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'"