feat: refs #8581 add data-cy attr VnLv

This commit is contained in:
Jorge Penadés 2025-02-21 13:50:16 +01:00
parent 140abcbbc4
commit 039d4c22fb
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function copyValueText() {
const val = computed(() => $props.value);
</script>
<template>
<div class="vn-label-value">
<div class="vn-label-value" :data-cy="`${$attrs['data-cy'] ?? 'vnLv'}${label ?? ''}`">
<QCheckbox
v-if="typeof value === 'boolean'"
v-model="val"