add required fields prop

This commit is contained in:
Pete Matsyburka
2024-04-15 16:34:44 +03:00
parent f9ae79dd5b
commit 7a29894926
7 changed files with 70 additions and 9 deletions
+1 -1
View File
@@ -68,7 +68,7 @@
@keydown.enter.prevent="onNameEnter"
@focus="onNameFocus"
@blur="onNameBlur"
>{{ optionIndexText }} {{ field.name || defaultName }}</span>
>{{ optionIndexText }} {{ (defaultField ? (field.title || field.name) : field.name) || defaultName }}</span>
<div
v-if="isNameFocus && !['checkbox', 'phone'].includes(field.type)"
class="flex items-center ml-1.5"