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.

select: changing ng-model after render with md-virtual-repeat does not display selected value #11842

Open
@sunnyjhon2020

Description

@sunnyjhon2020

it is a normal md-select with options and instead of ng-repeat i have used md-virtual-repeat but the ng-model is not working!

See the codepen for more details - https://codepen.io/lakshmi_suhas/pen/abzKJmq

when trying to select any option it it binding, but assume data is getting from backend and want to bind the default option (see the $timeout call in pen) it is not working at first but when the md-select is opened / clicked the selectedOption is binding.

Please tell me what's wrong in the code or it is material bug.

Metadata

Metadata

Assignees

Labels

P3: importantImportant issues that really should be fixed when possible.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communitytype: bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions