This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
autocomplete(chips): deleting chips breaks ability to add or render new chipsΒ #11218
Copy link
Copy link
Closed
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.g3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedtype: bug
Milestone
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Deleting chips should not break the ability to add or render other chips.
What is the current behavior?
We support multi value with separator comma, enter, space and tab.
It works good as long as we don't delete any chip. As soon as we delete the chip, nothing works.
We made sure model looks good even after deleting but somehow md-item-template
doesn't get rendered.
CodePen and steps to reproduce the issue:
CodePen Demo which shows your issue: TBD
<md-chips
flex="100"
md-autocomplete-snap
class="..."
readonly="..."
ng-model="..."
ng-if="..."
md-transform-chip="..."
md-on-remove="...">
</md-chips>
Detailed Reproduction Steps: TBD
What is the use-case or motivation for changing an existing behavior?
It worked as expected in 1.1.7.
Which versions of AngularJS, Material, OS, and browsers are affected?
AngularJS Material 1.1.7
Others TBD
Is there anything else we should know? Stack Traces, Screenshots, etc.
javiergbas and jktu2870
Metadata
Metadata
Assignees
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.g3: reportedThe issue was reported by an internal or external product team.The issue was reported by an internal or external product team.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedtype: bug