Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Using md-autocomplete in md-virtual-repeat #9815

Closed
@brodecap

Description

@brodecap

Actual Behavior:

  • What is the issue? * Input IDs for md-autocomplete appear to be reused in md-virtual-repeat leading to unexpected, repeated values on scroll.
  • What is the expected behavior? md-autocomplete fields in the md-virtual-repeat should not pollute each other.

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/anon/pen/VKxXBB
  • Details: The CodePen illustrates the difference between md-autocomplete (first) and md-input (second). Fill in a few values for the autocomplete and scroll right to see the input IDs reused and the values repeated. The IDs for the raw md-inputs are not reused.

Angular Versions: *

  • Angular Version: 1.5.8
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 53
  • OS: * macOS Sierra
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.has: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions