Gbuomprisco / ngx-chips

Tag Input component for Angular
MIT License
899 stars 359 forks source link

Suggestion dropdown appears only once #965

Closed Lastwhitelf closed 3 years ago

Lastwhitelf commented 3 years ago

PLEASE MAKE SURE THAT:

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior I have a tag input (TI) with a tag dropdown(TD) that calls out the backend for suggestions. If the TI is empty, I can start typing and the TD appears suggesting me what tag to use. if I have one or more tags in the TI, and i start typing, the component calls out the backend but the TD doesnt' appear, even if the response contains results.

Expected behavior I need to add more than one tag, obviously. I suppose it started to occur when i migrated to angular 9

Minimal reproduction of the problem with instructions (if applicable)

What do you use to build your app?. Please specify the version "@angular/animations": "~9.0.2", "@angular/common": "~9.0.2", "@angular/compiler": "~9.0.2", "@angular/core": "~9.0.2", "@angular/forms": "~9.0.2", "@angular/localize": "~9.0.2", "@angular/platform-browser": "~9.0.2", "@angular/platform-browser-dynamic": "~9.0.2", "@angular/router": "~9.0.2", "@ckeditor/ckeditor5-angular": "^1.2.3", "@ckeditor/ckeditor5-build-classic": "^21.0.0", "@fortawesome/angular-fontawesome": "^0.7.0", "@fortawesome/fontawesome-svg-core": "^1.2.30", "@fortawesome/free-regular-svg-icons": "^5.14.0", "@fortawesome/free-solid-svg-icons": "^5.14.0", "@ng-bootstrap/ng-bootstrap": "^6.2.0", "bootstrap": "^4.4.0", "chart.js": "^2.9.3", "ng2-charts": "^2.3.2", "ngx-chips": "^2.1.0", "ngx-image-cropper": "^3.2.1", "ngx-loading": "^8.0.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2"

Angular version: 9

ngx-chips version: 2.1.0

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome 85.0.4183.102

Lastwhitelf commented 3 years ago

Solved: wrong identifyBy parameter