diff --git a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.story.vue b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.story.vue new file mode 100644 index 000000000..b51b7f023 --- /dev/null +++ b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.story.vue @@ -0,0 +1,49 @@ + + + diff --git a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue new file mode 100644 index 000000000..5168bb4b3 --- /dev/null +++ b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue @@ -0,0 +1,219 @@ + + + diff --git a/app/javascript/dashboard/i18n/locale/en/components.json b/app/javascript/dashboard/i18n/locale/en/components.json index 6f867e3d4..7a0533cef 100644 --- a/app/javascript/dashboard/i18n/locale/en/components.json +++ b/app/javascript/dashboard/i18n/locale/en/components.json @@ -18,6 +18,11 @@ "CONFIRM": "Confirm" } }, + "PHONE_INPUT": { + "SEARCH_PLACEHOLDER": "Search country", + "ERROR": "Phone number should be empty or in E.164 format", + "DIAL_CODE_ERROR": "Please select a dial code from the list" + }, "THUMBNAIL": { "AUTHOR": { "NOT_AVAILABLE": "Author is not available"