Comments (7)
Until they fix it, a temporary fix is to download the image yourself:
and then in your component css:
::ng-deep .flag {
background-image: url('path/to/image.jpg') !important;
}
or in your global styles.css
.flag {
background-image: url('path/to/image.jpg') !important;
}
from ngx-international-phone-number.
Issue resolved,
I have also faced same issue then after I made change in style.css/scss with this
.flag {
background: url(https://res.cloudinary.com/dvbuhh0bl/image/upload/v1495279723/flags_boi3c5.png); // removed no-repeat
//background: url(https://res.cloudinary.com/dvbuhh0bl/image/upload/v1495279723/flags_boi3c5.png) no-repeat; // commented this line
background-image: url(assets/images/country-flags.jpg) !important;
}
where assets/images/country-flags.jpg is contains following downloaded img
https://user-images.githubusercontent.com/20545357/90998272-b5b86280-e591-11ea-992b-c422d78070e2.jpg
from ngx-international-phone-number.
Just add
.flag { background-image: url('assets/images/country-flags.jpg') !important; }
in your styles.scss
and use this file and place in assets folder
from ngx-international-phone-number.
this issue is fixed in this library, basically this library is a stable and maintained version of ngx-international-phone-number,
you can use and explore it from here https://www.npmjs.com/package/ng-phone-number
Flag issue is also fixed here
from ngx-international-phone-number.
same issue !! please fix it
from ngx-international-phone-number.
Facing the same issue. Please fix it as soon as possible.
from ngx-international-phone-number.
We are facing the same issue as well. Would appreciate a quick fix as soon as possible
from ngx-international-phone-number.
Related Issues (20)
- Dropdown-content listing is closing again & again within seconds.
- (copying) cmd + c doesn't work in the input HOT 2
- ERROR in Debug Failure. False expression. HOT 1
- [ngClass] cannot be detect HOT 1
- Not able to disable the input field HOT 1
- drop down does not hide if touched outside area in mobile HOT 2
- Re-written version - V2 HOT 2
- Standardise ISO 3166 HOT 1
- Fix shortcuts in Mac + Add (Cmd || Ctrl) + Z
- Phone fields adjustments
- No provider for CountryService
- Add support for Angular 9 HOT 3
- Reactive Form & old version angular 5
- not able to scroll the list using wheel/trackpad, even when the scrollbar is visible
- How can we set default country dynamically through component for ngx-international-phone-number
- Pasting number with spaces is not allowed
- Uploading flags image lead to 404 error HOT 2
- Trouble showing errors in reactive form
- [defaultCountry] change dynamically in component
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 ngx-international-phone-number.