compile error, accordion controller required

后端 未结 4 1471
长发绾君心
长发绾君心 2021-01-18 06:04

I met following error in the console when using angular-bootstrap ui. I have angular 1.2.6, bootstrap 3.0, and angular-bootstrap 0.10.0.

Err

4条回答
  •  执念已碎
    2021-01-18 06:39

    Ran into a similar issue using an up-to-date ui-bootstrap (as of 2/29/16). In my markup, I did have both the uib-accordion and uib-accordion-group directives as required. I initialized isOpen, isDisabled just to see if that was the problem and still saw the issue.

    It only manifested itself on mobile Safari for me BTW. The error message was VERRRRY similar and only appeared the very first time the app loaded on that device. It didn't actually hinder the app in any way, just annoying.

    Adding the technically optional, but preferred "data-" before all angular directives seemed to fix the issue.

提交回复
热议问题