Captive Portal Customizations - Phone Number

From Social ID Developers
(Difference between revisions)
Jump to: navigation, search
Renato.neves (Talk | contribs)
(Created page with "== Description == Phone Number input configuration. The settings follows the ones documented for the [https://github.com/jackocnr/intl-tel-input intl-tel-input plugin]. For ...")

Latest revision as of 21:38, 19 June 2019

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