diff --git a/packages/marko-web-identity-x/browser/authenticate.vue b/packages/marko-web-identity-x/browser/authenticate.vue index 9beabbe3c..431f9e28b 100644 --- a/packages/marko-web-identity-x/browser/authenticate.vue +++ b/packages/marko-web-identity-x/browser/authenticate.vue @@ -20,6 +20,7 @@ :regional-consent-policies="regionalConsentPolicies" :button-label="buttonLabel" :call-to-action="callToAction" + :default-field-labels="defaultFieldLabels" @profile-updated="redirect" /> @@ -109,6 +110,10 @@ export default { type: String, default: null, }, + defaultFieldLabels: { + type: Object, + default: () => ({}), + }, booleanQuestionsLabel: { type: String, default: null, diff --git a/packages/marko-web-identity-x/browser/profile.vue b/packages/marko-web-identity-x/browser/profile.vue index c7a7d84f7..7c78b59e3 100644 --- a/packages/marko-web-identity-x/browser/profile.vue +++ b/packages/marko-web-identity-x/browser/profile.vue @@ -85,7 +85,7 @@ :city="citySettings" :region-code="regionCodeSettings" :postal-code="postalCodeSettings" - :field-labels="defaultFieldLabels" + :default-field-labels="defaultFieldLabels" />
diff --git a/packages/marko-web-identity-x/components/form-authenticate.marko b/packages/marko-web-identity-x/components/form-authenticate.marko index b319716bd..7bf0d4d27 100644 --- a/packages/marko-web-identity-x/components/form-authenticate.marko +++ b/packages/marko-web-identity-x/components/form-authenticate.marko @@ -15,6 +15,7 @@ $ const additionalEventData = defaultValue(input.additionalEventData, {}); requiredServerFields: identityX.config.getRequiredServerFields(), requiredClientFields: identityX.config.getRequiredClientFields(), defaultCountryCode: identityX.config.get('defaultCountryCode'), + defaultFieldLabels: identityX.config.get("defaultFieldLabels"), booleanQuestionsLabel: identityX.config.get('booleanQuestionsLabel'), hiddenFields: identityX.config.getHiddenFields(), endpoints: identityX.config.getEndpoints(),