Comments (1)
Fetch returns a promise, so you are effectively initialising the plugin with the i18n option set to a promise which won't work. Instead you need to finish loading your JSON before you initialise the plugin, and then pass the result as the value to i18n.
from intl-tel-input.
Related Issues (20)
- Default Belgian placeholder number is the phone number of an escort service. HOT 1
- useFullscreenPopup: false and autofocused input fields on ios closing the dropdown HOT 2
- Error during the phone number validation for Japan. HOT 1
- Feature Request - Vue 3 component HOT 13
- Integrate React component with React Hook Form Controller wrapper component HOT 7
- Antarctica missing from /intlTelInputWithUtils.js & /intlTelInput.js HOT 1
- Phone are detected as invalid but it is valid
- Flags could not be loaded at latest version HOT 1
- allowDropdown and separateDialCode combination question HOT 9
- Search Country enabled when separateDialCode = true HOT 10
- TypeError: input.getAttribute is not a function HOT 5
- Getting process is not defined in vue/vite HOT 2
- Viet Nam flag wrong HOT 1
- Want to Restrict to change country only from dropdown not from input HOT 6
- StrictMode - Not accepting dial code change while typing HOT 2
- maybe a small bug, which change country flag while type a number HOT 1
- TypeError: e[a] is not a function HOT 3
- Use for generating a country selector field HOT 1
- search box is not appearing in intl-tel-input dropdown HOT 2
- Is it possible to implement typescript implementation for VueJs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intl-tel-input.