在外部单击md-select不起作用 [英] Click outside md-select is not working
本文介绍了在外部单击md-select不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在对话框中选择-角材-mdpanel 使用示例md-select 但是在打开选项时无法单击选择.
select in dialog - angular material - mdpanel using sample md-select but click outside the select when the options are open is not working.
我该如何解决? 非常重要
how can I fix it ? thx a lot
html:
<md-select ng-model="ctrl.selectedUser" ng-model-options="{trackBy: '$value.id'}">
<md-option ng-value="user" ng-repeat="user in ctrl.users">{{ user.name }}</md-option>
</md-select>
推荐答案
已修复:
我从md-panel或md-dialog配置对象中删除了"zIndex"属性
I have removed the "zIndex" property from md-panel or md-dialog config object
这篇关于在外部单击md-select不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文