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
Description
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.