From 7a4b6dbd79a2f1dada847c40c24d2b0c5f5efda7 Mon Sep 17 00:00:00 2001 From: formsdev <136701234+formsdev@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:00:09 +0530 Subject: [PATCH] Phone input country restriction (#218) * Phone input country restriction * Wording --------- Co-authored-by: Julien Nahum --- resources/js/components/forms/PhoneInput.vue | 58 ++++++++---- .../components/open/forms/OpenFormField.vue | 6 +- .../forms/fields/components/FieldOptions.vue | 92 ++++++++++++++----- 3 files changed, 109 insertions(+), 47 deletions(-) diff --git a/resources/js/components/forms/PhoneInput.vue b/resources/js/components/forms/PhoneInput.vue index 4e85a65..d983341 100644 --- a/resources/js/components/forms/PhoneInput.vue +++ b/resources/js/components/forms/PhoneInput.vue @@ -2,51 +2,54 @@
- +
- + :placeholder="'Select a country'" :uppercase-labels="true" :theme="theme" @input="onChangeCountryCode" + > + :placeholder="placeholder" :style="inputStyle" @input="onInput" + >
- +
- +