Playground

Try different intl-tel-input initialisation options and see the plugin update live.
(You can also set options via URL params, e.g. ?initialCountry=gb&separateDialCode=true).

Initialisation options

Any changes here will re-initialise the plugin.

Input attributes

Any changes here will re-initialise the plugin.

Live Demo

This input is emptied when the options are changed. For a persistent number, see the Input Attributes section.

Type a number above to see the output here

Initialisation code

JavaScript snippet for initialising the plugin with your (non-default) options. By default, we add loadUtils for formatting/placeholders.