This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
0.10.1-rc1 md-select does not show pre selected Item #3758
Labels
needs: demo
A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue
type: bug
Milestone
In 0.10.1-rc1 i have the issue that md-select always shows the input-container label or the placeholder-text until i manually select a value.
I can not get the md-select to show the value that is pre-set in the ng-model (and also matches the md-option ng-value).
The selected item is highlited in the select dropdown but will not be rendered inside the md-select until manually selected.
I would expect that md-select displays the content of it's model (if not undefined/null) and not the label or placeholder.
I use the async functionality.
It seems like md-select can't determine the selected item because the item-list is not loaded yet.
The old md-select still allowed to to display the pre-selected item via md-select-label and i can't find a way to achive something similar now.
Edit:
it works if i pre-load the option list but that destroys the purpose of the async-loading.
The text was updated successfully, but these errors were encountered: