标签更改UI选择上的问题

时间:2018-06-26 05:34:29

标签: angularjs ui-select

ui-select中,用户必须多次制表才能移出ui选择输入。

我不知道为什么会这样,但是在检查后发现只有在通过tab选择下拉值时才会发生。如果我通过clickenter选择它,则选项卡会平稳地切换到下一个元素。

这是html代码:

<ui-select ng-model="noPostData.selectedtype.id" theme="select2" on-select="getUserOptions()">
      <ui-select-match placeholder="Select user type">{{$select.selected.name}}</ui-select-match>
      <ui-select-choices repeat="obj.id as obj in usertype | filter: {name: $select.search} | limitTo: 200">
       <div ng-bind-html="obj.name | highlight: $select.search"></div>
          </ui-select-choices>
     </ui-select>

0 个答案:

没有答案