do not allow to edit phone if already specified

pull/133/head
DocuSeal 2 years ago
parent 65f491325e
commit 041f362cc4

@ -28,6 +28,7 @@
>
<div class="flex justify-between mt-2 -mb-2 md:-mb-4">
<a
v-if="!defaultValue"
href="#"
class="link"
@click.prevent="isCodeSent = false"
@ -48,6 +49,7 @@
:id="field.uuid"
ref="phone"
:value="modelValue || defaultValue"
:readonly="!!defaultValue"
class="base-input !text-2xl w-full"
autocomplete="tel"
pattern="^\+[0-9\s\-]+$"

Loading…
Cancel
Save