-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-select, md-option: using html in the option does not apply to selected element #2242
Comments
Would be great if you would support |
Pair w/ @topherfangio |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
@NathanaelDekeister behavior is the same for me like in the initial plunker |
+1 |
I don't know what the |
Easier to show an example.
I have an array of options in the controller:
Notice that each item in the
opts
hastext
property with html.my
md-select
looks like this:Notice the use of
ng-bind-html
This produces the following option (example shows just first option):
That all looks good. However, once this option is selected it looses the html I provided:
Notice a
<span>Fancy Text 1</span>
. It does not have the html I provided anymore.The text was updated successfully, but these errors were encountered: