victorybiz / laravel-tel-input

Laravel Telephone Input component for Blade and Livewire based on the intl-tel-input JavaScript plugin.
https://github.com/victorybiz/laravel-tel-input
MIT License
39 stars 12 forks source link

In Livewire customContainer not taking effect #16

Open abakano21 opened 1 year ago

abakano21 commented 1 year ago

Hi everyone, Composer.json: "laravel/framework": "^8.83.16", "livewire/livewire": "^2.5", "victorybiz/laravel-tel-input": "^1.2"

Package.json: "intl-tel-input": "^17.0.16",

I have installed package properly, but when I tried to use customContainer, it wrapped with span tag (wire:ignore) Please help me out, whether there is another way or am I missing some configuration Screenshot from 2023-01-12 13-03-44

MCKLtech commented 1 year ago

I have the same issue, and is likely the cause of https://github.com/victorybiz/laravel-tel-input/issues/23

Did you happen to solve this?

abakano21 commented 11 months ago

@MCKLtech no, issue still persist. I used different way, dead-lines coming :)

hsmfawaz commented 2 months ago

The problem was in the config file for the utilsScript key You should download the utilities script and put the path in the config image

script used : https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/21.2.7/js/utils.min.js and it will work correctly