fix: refs #8581 update data-cy attribute binding #7529

This commit is contained in:
Jorge Penadés 2025-02-20 12:22:58 +01:00
parent 525d2b9389
commit e0459f2016
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ const handleUppercase = () => {
:rules="mixinRules"
:lazy-rules="true"
hide-bottom-space
:data-cy="$attrs.dataCy ?? $attrs.label + '_input'"
:data-cy="$attrs['data-cy'] ?? $attrs.label + '_input'"
>
<template #prepend v-if="$slots.prepend">
<slot name="prepend" />