intl-tel-input icon indicating copy to clipboard operation
intl-tel-input copied to clipboard

Formatondisplay and formatasuoutype is not working

Open nitikadhamija opened this issue 2 months ago • 6 comments

I have imported the utilsScript and marked formatOnDisplay as true when on wdit screen the flag is not getting updated based on the region for canada even with valid phone number. Tried saving number without formatting and country code and with country codes as well

Can someone pleas help me here

nitikadhamija avatar Oct 30 '25 14:10 nitikadhamija

If you can find the minimal set of code that reproduces the problem and put that in a CodePen, then I'd be happy to take a look. Here is an example pen with the plugin up and running - feel free to fork this if it helps.

jackocnr avatar Oct 30 '25 15:10 jackocnr

I am not able to figure out because it works on any key press while editing the phone number

nitikadhamija avatar Oct 30 '25 15:10 nitikadhamija

Is there any config setting due to which formatOnDisplay is not working?

nitikadhamija avatar Oct 31 '25 13:10 nitikadhamija

Is there any config setting due to which formatOnDisplay is not working?

I don't think so.

As I say, I'll need a codepen in order to help you further.

jackocnr avatar Nov 01 '25 15:11 jackocnr

Image Will this work ?

nitikadhamija avatar Nov 04 '25 12:11 nitikadhamija

How are you setting the number? Please provide clear steps to reproduce the issue.

Is the number in the input before you initialise the plugin? Or are you setting it afterwards somehow? (if so, how exactly? show me the line of code)

jackocnr avatar Dec 04 '25 11:12 jackocnr

Closing due to inactivity and inability to provide clear steps to reproduce the issue.

jackocnr avatar Dec 12 '25 08:12 jackocnr