我正在尝试在angular-selectize指令
的options参数中使用过滤器 <selectize placeholder='Pick some things...' options='myOptions2 | filter: {class: "mammal"}' config="myConfig2" ng-model="myModel3" ng-disabled='disable' required='true'></selectize>
这是plnkr
http://plnkr.co/edit/VCyqpO5cRll4bRlquOmD?p=preview
在控制台中我收到错误。
Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!