vue-phone-number-input icon indicating copy to clipboard operation
vue-phone-number-input copied to clipboard

flags not working

Open muhammadawd opened this issue 3 years ago • 5 comments

flags not working images/vendor/vue-phone-number-input/dist/flags.9c96e0ed.png not found image

muhammadawd avatar Nov 29 '20 10:11 muhammadawd

This is still broken... 4 months later.. ? Is there going to be a fix? It pretty much makes this package redundant..

elev8studio avatar Mar 19 '21 09:03 elev8studio

Same issue here...

muarachmann avatar Mar 19 '21 11:03 muarachmann

What is did it I downloaded this manually and added to my project's public img folder https://louismazel.github.io/vue-phone-number-input/img/flags.9c96e0ed.png. The path must match img/css/flags.9c96e0ed.png

muarachmann avatar Mar 19 '21 11:03 muarachmann

I am also having same issue but

Temporary we can create img folder and upload image (https://louismazel.github.io/vue-phone-number-input/img/flags.9c96e0ed.png) into it. It's working for me.

securious-mayank avatar Aug 27 '21 07:08 securious-mayank

I fixed it by overriding the image source. Instead of img/flags... use the absolute path: /img/flags. Add this to one of your CSS files:

.iti-flag {
    background-image: url(/img/flags.9c96e0ed.png) !important;
}

Unlimited23 avatar Jan 04 '24 09:01 Unlimited23