material icon indicating copy to clipboard operation
material copied to clipboard

msSelect: SelectedItem does not reflect a custom item template.

Open waegen opened this issue 11 years ago • 1 comments

HI there,

i'm not sure if this is supposed to work but when i have a custom item template in mdSelect (to have some highlighting or styling) the selectedItem does not reflect this. It would be great if the styled content was shown in the selected as well.

Also ng-show/hide do not work for the SelectedItem.

I have prepared a testcase (http://plnkr.co/edit/GaUSJrn3o3KRYQwzHmbo?p=preview) where you can see that the item text is show twice.

Also if this is not supposed to work in that way how can i accomplish such a request.

waegen avatar Nov 11 '15 12:11 waegen

+1 It seems to strip out the html tags etc and just use the plain text in the selected item, and given the removal of the label override it makes it impossible to customize this component sufficiently.

pmchugh3 avatar Nov 18 '15 11:11 pmchugh3