Angular ui-select下拉列表

时间:2017-07-14 16:18:15

标签: html css angularjs ui-select

问题是当我将ui-select放在一个有溢出的html元素中时,不会完全显示选项列表。

任何帮助??

这是plunker

 <ui-select ng-model="ctrl.person.selected" theme="select2" style="min-width: 150px;">
        <ui-select-match>{{$select.selected.name}}</ui-select-match>
        <ui-select-choices repeat="person in ctrl.people | propsFilter: {name: $select.search, age: $select.search}">
          <div ng-bind-html="person.name | highlight: $select.search"></div>
          <small>
            email: {{person.email}}
            age: <span ng-bind-html="''+person.age | highlight: $select.search"></span>
          </small>
        </ui-select-choices>
</ui-select>

0 个答案:

没有答案