fix label

This commit is contained in:
Pete Matsyburka
2024-09-23 01:11:48 +03:00
committed by Oleksandr Turchyn
parent 7406334f77
commit b3f3cf2aa6
+2 -2
View File
@@ -29,12 +29,12 @@
{{ optionValue(option) }}
</template>
<template v-else>
{{ field.name || fieldNames[field.type] }}
{{ field.title || field.name || fieldNames[field.type] }}
<template v-if="field.type === 'checkbox' && !field.name">
{{ fieldIndex + 1 }}
</template>
<template v-else-if="!field.required && field.type !== 'checkbox'">
(optional)
({{ t('optional') }})
</template>
</template>
</div>