ClickerMonkey / SemanticUI-Angular

Angular Directives for Semantic UI
http://clickermonkey.github.io/SemanticUI-Angular/examples/
MIT License
56 stars 28 forks source link

Using dropdowns as menus with html for default option causes html to be stripped when cleared. #31

Closed aphotix closed 6 years ago

aphotix commented 6 years ago

New functionality introduced in pull request #28 causes html in the default text to be stripped. Prior to this if using the drop down as a menu, it would have to be cleared after a user selection. This could be done by setting the menu to a falsy value. Now it seems setting the drop down to any falsy value causes it to clear, which can be problematic as the html in the default text is stripped when the dropdown reloads it.