Angular bootstrap typeahead不能与Angular 1.3.0一起使用

Pra*_*evu 7 angularjs angular-bootstrap

我创建了一个小的plunker来表明这不起作用.谁能帮助我如何使用1.3.0 angularJS /提供备用解决方案的typeahead.我们正在使用angular-bootstrap 0.11.0和最新版本的bootstrap.我们的代码严重依赖于1.3.0中引入的ng-messages

这是plunker链接

您可以清楚地看到,点击事件,向上箭头和向下箭头不起作用.添加一些代码以使SO快乐.:)

 <div class="container-fluid" ng-controller="TypeaheadCtrl">
      <h4>Static arrays</h4>
      <pre>Model: {{selected | json}}</pre>
      <input type="text" ng-model="selected" typeahead="state for state in states | filter:$viewValue | limitTo:8" class="form-control" />

    </div>
Run Code Online (Sandbox Code Playgroud)

run*_*arm 11

您目前有三种选择:

  1. 将angular.js版本降级为 1.3.0-beta.10

    该缺陷是由这个引起的ngIf固定d71df9这是在降落1.3.0-beta.11

  2. 将angular-bootstrap版本降级为 0.10.0

    typeahead指令已开始使用ngIf0.11.0,所以要降级0.10.0也不会起作用.

  3. 等待角度自举 0.12.0

    已经有一个未解决的问题#2474,计划修复它0.12.0

编辑:似乎问题已由此提交a0be450d修复并登陆0.11.2.