0
我试图在引导选择组合框中显示标签。但是,ng-repeat没有填充选项。经过一番调查后,我相信我需要为此写一条指令,因为Bootstrap会在Angular添加选项之前采用这些选项并列出它们。但我不知道编写指令涉及什么。引导选择组合框和ngRepeat选项不起作用
<select class="combobox form-control" ng-model = "tags.repeatSelect">
<option ng-repeat = "tag in tags.tagNames" value = "{{tag.string}}"> {{tag.string}} </option>