feature: Updated Label component

This commit is contained in:
Paul Valerie GOMA 2025-07-22 02:01:32 +02:00
parent a1a318510d
commit a2b7120257

View File

@ -27,7 +27,7 @@ const props = withDefaults(defineProps<IVLabel>(), {
{{ props.label }}
<slot name="required-type">
<span
v-if="'required' in $attrs && $attrs.required !== false"
v-if="props.required"
:class="{ 'required': props.required }"
>*</span>
</slot>