ui选择在浏览器更新后无法正常工作

时间:2019-03-25 12:30:32

标签: angularjs

我使用ui-select已经有一段时间了,没有任何问题,但是在最新的浏览器更新之后,它就无法正常工作了。特别是我正在使用

角度1.6.9,角度用户界面选择0.19.8,引导程序3.3.7

具有标准设置和标准代码,例如

$scope.itemArray = [
    {id: 1, name: "first"},
    {id: 2, name: "second"},
    {id: 3, name: "third"}
];

$scope.selected = { value: $scope.itemArray[0] };

<ui-select 
    theme="bootstrap"
    ng-model="selected.value">
    <ui-select-match>
        <span ng-bind="$select.selected.name"></span>
    </ui-select-match>
    <ui-select-choices 
        repeat="item in (itemArray | filter: $select.search) track by item.id">
        <span ng-bind="item.name"></span>
    </ui-select-choices>
</ui-select>

在Chrome 71.0.3578.98下,一切正常,但是在Chrome 73.0.3683.86下,我现在似乎在选择框下方看到一个空文本框,一个正在旋转的选择框内的刷新微调框以及一个“ x”。其他浏览器(例如在Firefox 62.0下一切正常,但在Firefox 66.0下我有相同的问题。

我有些茫然,对于如何解决该问题的任何建议将不胜感激。

请注意,所有必要的库均已正确加载,即已在索引文件中

<link rel="stylesheet" type="text/css" href="libs/angular-ui-select/dist/select.css"></link>        
<script type="text/javascript" src="libs/angular-ui-select/dist/select.min.js"></script>

0 个答案:

没有答案
相关问题