【发布时间】:2016-01-02 08:48:44
【问题描述】:
是否可以按照开头在下拉列表中显示项目?
我正在使用这个https://github.com/angular-ui/ui-select,从下拉菜单中,如果我写“a”,它会显示所有带有“a”的单词
我只想显示以“a”开头的单词
有指令https://github.com/angular-ui/ui-select/wiki/ui-select-match,但不知道该怎么做
http://embed.plnkr.co/WyIC087njDHLmIVGTAj7/preview
我想在 angular.js 中做同样的事情:Select2 jQuery Plugin: Is there a way to sort a list of tags alphabetically?
【问题讨论】:
标签: javascript jquery angularjs angular-ui angular-ui-select