Comments (4)
Hi @tamaserdfalvi, I'm afraid I'm not sure... so it's functioning fine, just not updating the model? You may want to ask this question on stack overflow, or somewhere where you can get some Angular input. I'm afraid I'm too much up on Angular. :( Sorry about that & good luck.
from country-region-selector.
@tamaserdfalvi - did you get this working yet? I too am trying to deploy this in an angularJS app. Getting empty select boxes.
from country-region-selector.
Found this, a country only angular version: https://www.npmjs.com/package/ng-country-select
from country-region-selector.
I just wrote my own component instead.
But @rolinger, if you get empty boxes : this is not really related to the problem I've mentioned. I think it's likely to be caused because you :
- don't know a window.crs.init() at all
- or you do it before your DOM is ready, try to do that with a bit of a timeout to see if it's working.
from country-region-selector.
Related Issues (20)
- Update lib for es6
- Drop jQuery version? HOT 3
- data-preferred="" attribute only shows first country, doesn't match region HOT 2
- Hampshire (County of Southampton), UK HOT 1
- Dropdown displays states sorted by short-name rather than by name HOT 3
- data-default-value not set for region if only 1 country HOT 3
- localization support
- Shortcode detection? HOT 1
- Loading on data-preferred-delim and not data-default-option values
- Spain regions are replaced by provinces HOT 2
- Region short value type returned numbers HOT 1
- Error when select some countries e.g. Kazakhstan with the 'shortcode' enabled
- How to intiliaze crs for dynamic select ? HOT 1
- how to make a default value of select please HOT 1
- Update regions for France HOT 2
- How to load from the data from a url instead of putting it directly in the script file HOT 1
- How to use two country-region-selector in one page
- How to import it while building? HOT 2
- on the production build there's a console.log that should not be HOT 11
- How to style (change color) the default 'please select' option?
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 country-region-selector.