关于使用ui-select出现Error: [ui.select:choices] htt错误的问题
来源:互联网 发布:圣骑士挖矿软件 编辑:程序博客网 时间:2024/06/05 17:32
在使用ui-select的时候出现[ui.select:choices] Expected multiple .ui-select-choices-row but got '0'.
错误,
解决办法:原文链接
Add the tagging attribute binded to a function that return null, like this plunker, works for me too.HTML:<ui-select ... tagging="tagHandler" ... >JS:$scope.tagHandler = function (tag){ return null;}
html代码
<ui-select multiple tagging="tagHandler" ng-model="data.body_mode_ids" theme="selectize" ng-disabled="disabled" title="选择部位"> <ui-select-match placeholder="选择部位...">{{$item.name}}</ui-select-match> <ui-select-choices repeat="body_mode.id as body_mode in body_mode_list_data | filter: {name: $select.search}"> <small> <span ng-bind-html="body_mode.name"></span> </small> </ui-select-choices></ui-select>
js代码
$scope.tagHandler = function (tag){ return null;}
0 0
- 关于使用ui-select出现Error: [ui.select:choices] htt错误的问题
- ui-select使用实例
- 关于饿了么ui框架的使用之select的应用
- 使用jquery ui 实现select 查询框
- angular ui select
- 关于的select问题
- AngularJs ui select 禁止search
- 关于Select语句的问题
- js关于select的问题
- android编写UI出现error: Error parsing XML: unbound prefix 的错误原因及解决方案
- angular-ui-select 支持搜索的 下拉选择框 的使用
- 关于select函数的使用
- 关于s:select的使用
- 关于Select方法的使用
- 关于<select>标签的使用
- UI框架 最完美的select下拉框美化
- jquery ui的autocomplete在ie6下不能遮盖select
- Bootstrap Flat UI的select下拉框显示问题解决
- 超链接传参post请求
- php获取body体,file_get_contents("php://input")
- 授权——《跟我学Shiro》
- Javaweb QQ第三方登录
- 弹道解算(二)
- 关于使用ui-select出现Error: [ui.select:choices] htt错误的问题
- Python split()函数默认参数
- Android studio安装碰见的坑
- 总结学习搭建SSM 遇到的问题(MyEclipse + SqlServer 2008 + Maven )
- 软件测试面试宝典
- 写SQL要学会使用"执行计划"
- Android应用程序开发环境搭建
- iOS APP打包上传到APPstore的最新步骤
- tensorflow中神经网络相关函数算法