Angular bootstrap typeahead not working with Angular 1.3.0

五迷三道 提交于 2019-12-05 04:54:41

You have three choices currently:

  1. Downgrade angular.js version to 1.3.0-beta.10

    The bug is caused by this ngIf fixed d71df9 which is landed in 1.3.0-beta.11

  2. Downgrade angular-bootstrap version to 0.10.0

    The typeahead directive has started to use ngIf in 0.11.0, so downgrade to 0.10.0 will also works.

  3. Wait for angular-bootstrap 0.12.0

    There is already an open issue #2474 , it's planned to be fixed in 0.12.0

EDIT: It seems the issue has been fixed by this commit a0be450d and landed in 0.11.2.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!