我正在使用来自HERE的ui-select,并且它在所有浏览器中运行良好,但在IE 8中,我无法看到与其中一个未解决的问题完全相同的选项在HERE页面上,您可以使用PLUNKER作为参考。
我试过但是徒劳无法解决问题。有人可以帮助我解决这个问题或暗示我应该如何解决这个问题。
<ui-select ng-model="country.selected" theme="selectize" ng-disabled="disabled" style="width: 300px;">
<ui-select-match placeholder="Select or search a country in the list...">{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat="country in countries | filter: $select.search">
<span ng-bind-html="country.name | highlight: $select.search"></span>
<small ng-bind-html="country.code | highlight: $select.search"></small>
</ui-select-choices>
</ui-select>
答案 0 :(得分:0)
正如github问题中所建议的那样,在IE8知道如何处理这些自定义元素之前,你需要加载这些行
document.createElement('ui-select');
document.createElement('ui-select-match');
document.createElement('ui-select-choices');