如何使用角复选框/selectbox实现多重选择
有人能给我推荐一些有用的指令来实现多选功能吗 i/p为数组格式。例如:如何使用角复选框/selectbox实现多重选择,select,checkbox,Select,Checkbox,有人能给我推荐一些有用的指令来实现多选功能吗 i/p为数组格式。例如:[1,2,4,5,6,7,8,9] 我使用了以下指令 - angular ui.select : 保存时,会正确发送字符串。 但是当我得到这个值时,选择框是用逗号选择的 - checklist-model : Saving properly. Get the value is coming as single string. 例如: items = [1,2,3,4,5,6,7] Save: [4,6] Get
[1,2,4,5,6,7,8,9]
我使用了以下指令
- angular ui.select :
保存时,会正确发送字符串。
但是当我得到这个值时,选择框是用逗号选择的
- checklist-model : Saving properly. Get the value is coming as single string.
例如:
items = [1,2,3,4,5,6,7]
Save: [4,6]
Get : 4,6 (selected as 3 items)