-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set default country #11
Comments
Same problem :) |
which version are you using ? |
Currently on the latest version 2.2.0. Tried setting default country by [country]="country" in .html and country="Australia" in .ts, Also tried [value] instead but also does not work. Issue: please assist. thanks! |
I have the same error where adding |
Please when using the newest version Finally, I've released a new major version of the library With this release https://github.com/angular-material-extensions/select-country/releases/tag/3.0.0 If you love this library please share it with your team and friends and please make sure that your are not missing any thank you all and cheers 🍻 |
I don't think this is resolved. I am using "@angular-material-extensions/select-country": "^3.0.4", If I pass the full Country object to [value] then it works, but as above, I only have the alpha2 code returned from the API and no way of populating the other fields in Country as you do not expose the full list of countries to my knowledge for me to find the country in? Please can there be a way to set the default value from just the alpha2 code. Currently it simply sets the flag, but leaves the text blank which is not ideal. |
@vickieallen I would appreciate a PR from you to improve that 🍻 |
@AnthonyNahas as requested 👍 would be good to get this asap as need this fix for a client hoping to launch in the next week or so. |
PR merged release maybe tonight thank you |
@vickieallen 4.0.3 is now live thank you all once again |
after using "@angular-material-extensions/select-country": "^4.0.3" I have started getting |
Can be the version 4.0.3 used on Angular 11.2.14 or only 11.0.0? Thank you! |
I want to view an already selected country (using alpha2Code) from API call. Is there any solution available for now? If not is there any other way to do it?
The text was updated successfully, but these errors were encountered: