我正在使用角度引导类型。我需要在多个输入字段上输入typeahead。我可以使用一些我错过的选项吗?或者我是否需要添加一些hacky来实现这一目标?
<label>
Sector
<span class="restrict-dropdown-menu-small">
<input type="text" class="form-control length-md"
ng-model="customBenchmark.sector"
typeahead="sector for sector in customBenchmarkOptions.sectors | filter:$viewValue:$emptyOrMatch | orderBy:'toString()'"
typeahead-focus
typeahead-select-on-blur="true"/>
</span>
</label>
<label>
Rating
<span class="restrict-dropdown-menu-small">
<input type="text" class="form-control length-md"
ng-model="customBenchmark.rating"
typeahead="rating for rating in customBenchmarkOptions.ratings | filter:$viewValue:$emptyOrMatch | orderBy:'toString()'"
typeahead-focus
typeahead-select-on-blur="true"/>
</span>
</label>