phone step langauge

This commit is contained in:
Pete Matsyburka committed 2024-04-23 21:33:40 +03:00
1 parent 7a2d1fc6c5
commit aeec0cbf8e
3 files changed
+20

No files matched your search

@@ -117,6 +117,11 @@ export default {
type: String,
required: true
},
locale: {
type: String,
required: false,
default: 'en'
},
showFieldNames: {
type: Boolean,
required: false,
@@ -163,6 +168,7 @@ export default {
method: 'POST',
body: JSON.stringify({
submitter_slug: this.submitterSlug,
locale: this.locale,
phone: this.$refs.phone.value
}),
headers: { 'Content-Type': 'application/json' }