phone step langauge

This commit is contained in:
Pete Matsyburka
2024-04-23 21:33:40 +03:00
parent 7a2d1fc6c5
commit aeec0cbf8e
3 changed files with 20 additions and 0 deletions
@@ -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' }