select-country icon indicating copy to clipboard operation
select-country copied to clipboard

Angular 19 support

Open mindarchitect opened this issue 11 months ago • 2 comments

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 Screenshot from 2025-01-05 11-57-53

mindarchitect avatar Jan 05 '25 10:01 mindarchitect

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 avatar Jan 11 '25 10:01 mindarchitect

@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.

wlucha avatar Feb 01 '25 11:02 wlucha

Here is the same lib but fixed for angular 19-20

https://www.npmjs.com/package/select-country-angular-20

nathan30 avatar Aug 29 '25 07:08 nathan30