diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue index bcaadb7f1..343130f1d 100644 --- a/src/components/common/VnInputDate.vue +++ b/src/components/common/VnInputDate.vue @@ -107,7 +107,7 @@ const manageDate = (date) => { @click="isPopupOpen = !isPopupOpen" @keydown="isPopupOpen = false" hide-bottom-space - :data-cy="$attrs['data-cy'] ?? $attrs.label + '_inputDate'" + :data-cy="($attrs['data-cy'] ?? $attrs.label) + '_inputDate'" >