使用引导/ angularjs编辑ComboBox [英] Editable ComboBox using bootstrap/angularjs
问题描述
我没有得到具有组合框的选择以及输入的任何解决方案。这意味着,如果在每个填充的列表不存在用户选择,然后使用应该能够进入他所选择的值。
用户的选择(选择或输入)设置和检索中angularjs NG-模式。
I am not getting any solution for having combobox as select as well as input. That means if user selection in not there in per-populated list , then use should be able to enter his value of choice. users choice (selected or entered) should be set and retrievable as ng-model in angularjs.
感谢
推荐答案
,SELECT2库让你使用 SELECT2 通过一个指令。这提供了做你问一些伟大的UI元素。
The ui-select2 library lets you use select2 through a directive. That provides some great UI elements that do what you're asking for.
在总的来说,我也建议角模块网站找到各种有用的角库。
In general I also recommend the Angular Modules site to find various useful Angular libraries.
这篇关于使用引导/ angularjs编辑ComboBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!