2024-10-23 04:05:27 +00:00
|
|
|
<template>
|
|
|
|
<label :for="htmlFor">
|
|
|
|
<slot />
|
|
|
|
</label>
|
|
|
|
</template>
|
|
|
|
|
2024-10-23 21:57:52 +00:00
|
|
|
<script setup>
|
|
|
|
import { computed, inject } from 'vue';
|
|
|
|
|
|
|
|
const $fcDynamicFormField = inject('$fcDynamicFormField', undefined);
|
|
|
|
|
|
|
|
const htmlFor = computed(() => $fcDynamicFormField?.groupId);
|
2024-10-23 04:05:27 +00:00
|
|
|
</script>
|