international-phone-number
international-phone-number copied to clipboard
error with angular 1.5 and utils.js
I have an error about using 'in' intlTelInputUtilsis undefined
in utils.js
this
is undefined...
Uncaught TypeError: Cannot use 'in' operator to search for 'intlTelInputUtils' in undefined
@kotmatpockuh did you ever resolve the issue? having a similar issue
so am I, any luck @kotmatpockuh or @feitla ?
I am facing the same issue after upgrading my project to Angular 8. Anyone have any idea?
I am also facing the issue with Angular8, any luck with this ?
I had to add the intl-tel-input
scripts to my project's angular.json
after updating.
"scripts": [
"node_modules/intl-tel-input/build/js/intlTelInput.js",
"node_modules/intl-tel-input/build/js/utils.js"
]
In previous versions I think these got loaded automatically, but that doesn't seem to work anymore. 🤷♂
@mamacdon Thanks. That was the issue. In previous version intlTelInput.js
was not needed to add in angular.json