Fix regex for Whapi phone number

pull/4323/head
edo2313 11 months ago
parent e8e7c7afb0
commit 5d6e6cd8e6
No known key found for this signature in database

@ -11,7 +11,7 @@
<div class="mb-3"> <div class="mb-3">
<label for="whapi-to-number" class="form-label">{{ $t("Phone number") }}</label> <label for="whapi-to-number" class="form-label">{{ $t("Phone number") }}</label>
<input id="whapi-to-number" v-model="$parent.notification.whapiToNumber" type="text" pattern="^[\d-]{10,31}(@[\w\.]{1,})?$" class="form-control" required> <input id="whapi-to-number" v-model="$parent.notification.whapiToNumber" type="text" pattern="^[\d-]{10,31}$" class="form-control" required>
<i18n-t tag="div" keypath="wayToWriteWhapiPhoneNumber" class="form-text"></i18n-t> <i18n-t tag="div" keypath="wayToWriteWhapiPhoneNumber" class="form-text"></i18n-t>
</div> </div>

Loading…
Cancel
Save