我从angularJS获取列表。当点击输入文本字段时,列表将显示并在0索引级别放置一个过滤框。在这种情况下,上下箭头键功能无法正常工作。
<div class="dropdown">
<inputclass="dropdown-toggle" type="button" data-toggle="dropdown" value = "{{subapplication}}" id="subapplicationid" ng-model="subapplication" ng-class="{'errorhilight': !isApplicationSelected}">
<span class="caret"></span>
<ul class="dropdown-menu" >
<li><input type="text" placeholder="search..." ng-model="searchString"></li>
<li ng-repeat="subapp in subapplicationList | filter:searchString" ><a href="#" ng-click="getSubApplicationDetails(subapp)">{{subapp.ID}}-{{subapp.DESCRIPCION}}</a></li>
</ul>
</div>