AutoComplete passes wrong item to Unselect in multiple mode #3864
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/Qi2Nw2imLpDUF8NJinYw?p=preview
Current behavior
I have added items to Autocomplete field, and when I delete an item, Model variable in the component is not getting updated.. issue similar to #213
Expected behavior
When an item is deleted from Autocomplete field, it should update the value array on the model side
Minimal reproduction of the problem with instructions
Add couple of items to Autocomplete field and print log of the Model variable in Component.. items are not delete in the value array
What is the motivation / use case for changing the behavior?
We have upgraded to Angular 4.0 and PrimeNG 4.0, started seeing this issue.. never seen this issue before
Please tell us about your environment:
Angular 4.3
Angular 4.2.0-rc.1
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
= 6.11The text was updated successfully, but these errors were encountered: