add field validation
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
/>
|
||||
<template v-else>
|
||||
{{ field.name && showFieldNames ? field.name : t('date') }}
|
||||
<template v-if="!field.required">({{ t('optional') }})</template>
|
||||
<template v-if="!field.required">
|
||||
({{ t('optional') }})
|
||||
</template>
|
||||
</template>
|
||||
</label>
|
||||
<button
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
:string="field.title"
|
||||
/>
|
||||
<template v-else>{{ field.name }}</template>
|
||||
<template v-if="!field.required">({{ t('optional') }})</template>
|
||||
<template v-if="!field.required">
|
||||
({{ t('optional') }})
|
||||
</template>
|
||||
</label>
|
||||
<div
|
||||
v-else
|
||||
|
||||
@@ -11,7 +11,9 @@
|
||||
/>
|
||||
<template v-else>
|
||||
{{ showFieldNames && field.name ? field.name : t('verified_phone_number') }}
|
||||
<template v-if="!field.required">({{ t('optional') }})</template>
|
||||
<template v-if="!field.required">
|
||||
({{ t('optional') }})
|
||||
</template>
|
||||
</template>
|
||||
</label>
|
||||
<div
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
:string="field.title"
|
||||
/>
|
||||
<template v-else>{{ field.name }}</template>
|
||||
<template v-if="!field.required">({{ t('optional') }})</template>
|
||||
<template v-if="!field.required">
|
||||
({{ t('optional') }})
|
||||
</template>
|
||||
</label>
|
||||
<div
|
||||
v-else
|
||||
|
||||
Reference in New Issue
Block a user