select-country
select-country copied to clipboard
Angular 19 support
Error:
Attempting to open an undefined instance of mat-autocomplete. Make sure that the id passed to the matAutocomplete is correct and that you're attempting to open it after the ngAfterContentInit hook.
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Browser Chrome
- Version 19
Could not create pull request (403) Apparently, the issue is here: [matAutocomplete]="this.countryAutocomplete"
should be changed to this
[matAutocomplete]="countryAutocomplete" Then the library is built. Did not test it though
@mindarchitect I also had several issues with this library and created my own: https://github.com/wlucha/ng-country-select. Let me know if you need some features.
Here is the same lib but fixed for angular 19-20
https://www.npmjs.com/package/select-country-angular-20