make phone field always required

This commit is contained in:
Pete Matsyburka committed 2023-11-12 00:24:57 +02:00
1 parent 6626a2b602
commit 500d0da563
2 files changed
+20 -15

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@
@blur="onNameBlur"
>{{ field.name || defaultName }}</span>
<div
v-if="isNameFocus && field.type !== 'checkbox'"
v-if="isNameFocus && !['checkbox', 'phone'].includes(field.type)"
class="flex items-center ml-1.5"
>
<input