international-telephone-input
Mobile icon

International Telephone Input

Deprecated
Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 15 March 2022
 by 
4.8
 (4 ratings)
international-telephone-input

International Telephone Input

Details
Mobile version is deprecated use International Telephone Input Reactive. A JavaScript plugin for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods.
Read more

Deprecated Reactive Version Released

I recommend using the new reactive version, which has more functionalities and can be use in both mobile and desktop reactive apps.

A JavaScript plugin for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods. 

Recommended Usage (by jackocnr)

The plugin is built to always deal with numbers in the full international format (e.g. "+17024181234") and convert them accordingly - even when nationalMode or separateDialCode is enabled. I recommend you get, store, and set numbers exclusively in this format for simplicity - then you don't have to deal with handling the country code separately, as full international numbers include the country code information.

You can always get the full international number (including country code) using getNumber, then you only have to store that one string in your database (you don't have to store the country separately), and then the next time you initialise the plugin with that number it will automatically set the country and format it according to the options you specify (e.g. if you enable nationalMode it will automatically remove the international dial code for you).

Implementation of https://github.com/jackocnr/intl-tel-input

Release notes (1.0.1)

Updated to matched plugin International Telephone Input Reactive

  • Added support for multiple instances - breaking change, now all client actions require a WidgetId
  • Added support for method getNumberType 
  • Added initialization option formatOnDisplay
  • Added support for OnParametersChanged
  • Added new action to call setNumber asynchronously
  • Added descriptions
  • Updated demo app
  • Upgraded from v16.0.2 to v17.0.12
Reviews (3)
by 
2022-10-19
in version 1.0.1
Better only if we could control the placeholder and show or not the example for each country.
Thanks for this awesome plugin.
by 
2020-01-14
in version 1.0.0
It Works as presented 
by 
2019-08-19
in version 1.0.0
Very useful, thank you developing this plugin
Team
Other assets in this category