ClickerMonkey / SemanticUI-Angular

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

semantic-ui-dropdown $sce error #27

Closed huuptag closed 6 years ago

huuptag commented 6 years ago

I have a problem with your dropdown. Error: [$sce:itype] http://errors.angularjs.org/1.6.4/$sce/itype?p0=html I try fix your code in line 378 on angular-semantic-ui.js file to solved it. sanitize = function(value) { if(angular.isString(value)){ return $sce.getTrustedHtml( $sce.trustAsHtml( value ) ); }else{ return value; } };