Captive Portal Customizations - Phone Number

From Social ID Developers
Jump to: navigation, search

Description

Phone Number input configuration.

The settings follows the ones documented for the intl-tel-input plugin. For example, you should set country codes using the ISO 3166-1 alpha-2 standard.

Default Values

phoneNumberOptions: {
  initialCountry: "",
  preferredCountries: ["br", "us"],
  onlyCountries: undefined
}

Customization Example

<script>
  appConfig.customization = appConfig.customization || {};
  appConfig.customization.phoneNumberOptions = {
    initialCountry: "br",
    preferredCountries: ["br"],
    onlyCountries: ["br", "us"]
  };
</script>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox