Questions tagged [intl-tel-input]

For issues relating to the International Telephone Input (intl-tel-input) jQuery plugin.

International Telephone Input (intl-tel-input) is a jQuery 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.

Resources:

120 questions
0
votes
2 answers

Intl-tel-input country codes getting overlapped when choosing new value

I have a simple code, where I am adding intl-tel-input to all tel input fields. My problem is when I select another country, it is showing the country codes like the image shared. var iti = $('input[type=tel]').intlTelInput({ …
Joy
  • 37
  • 5
0
votes
1 answer

Intl-tel-input library keeps throwing error on multiple elements

I'm using the Intl-tel-input library to mask my phone number fields, I'm using multiple elements, however, only the first one is working, the 2nd and the 3rd are throwing Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')…
Cedric Hadjian
  • 849
  • 12
  • 25
0
votes
1 answer

intl-tel-input not working properly with jQuery 3.6.0

i have 2 codes one is old and it was working perfectly then I decided to upgrade to jquery 3.6.0 but I faced a problem that the code stopped to work so i got a new code from here but its not working properly. the old code var telInput =…
musa94
  • 33
  • 1
  • 7
0
votes
1 answer

intl-tel-input "grunt img" command not working

I am using intl-tel-input to create a control to display mobile numbers. because the flags are realy small, I need to have them bigger. As they describe here: https://codepen.io/jackocnr/full/ONXWgQ I should run grunt img and grunt css to do…
Mathieu
  • 71
  • 6
0
votes
1 answer

Getting intl-tel-input working as yii2 autoloader via composer

I'm using Yii2 and would like to be able to use jackocnr/intl-tel-input libs as a autoloader/widget via composer. I can install via composer, but there's no autoload/psr-4 statement in the composer file. I've used borales/yii2-phone-input in Yii2…
vanarie
  • 439
  • 1
  • 5
  • 12
0
votes
1 answer

International tel input in laravel 8

I'm using this code to validate the phone number ; I'm using the Intl-tel-input jQuery plugin for entering and validating international telephone numbers
user14053977
  • 151
  • 2
  • 13
0
votes
1 answer

How do I access node modules client-side when building an Express app?

I'm trying to use intl-tel-input in a project I'm building using express and ejs. I have app.use(express.static(path.join(__dirname, 'public'))); in my app.js which means Express serves all static files from the public directory in my project. I am…
raghav
  • 225
  • 1
  • 2
  • 9
0
votes
1 answer

Why are node modules working on firebase emulator but not working post deployment?

I am using intl-tel-input in my project which I installed using npm. Every thing seems to work fine when I test using Firebase emulators but it stops working post deployment. Upon checking the Sources tab in Chrome dev tools, I can see that the…
0
votes
1 answer

Multiple hiddenInput fields intl-tel-input package

I'm having an issue with trying to add multiple hiddenInput fields to intl-tel-input Package github: https://github.com/jackocnr/intl-tel-input Code I've tried: