Android Chrome(WebKit)ng型号存在选择显示值问题
我想我遇到了这个错误: 这是我的密码:Android Chrome(WebKit)ng型号存在选择显示值问题,android,angularjs,google-chrome,webkit,Android,Angularjs,Google Chrome,Webkit,我想我遇到了这个错误: 这是我的密码: <select ng-model="storeaccount" ng-init="storeaccount = store != 0 ? store : null" ng-options="storedata.id as storedata.name for storedata in stores" ng-change="storeAccountChange(storeaccount)"> <option value="">
<select ng-model="storeaccount" ng-init="storeaccount = store != 0 ? store : null" ng-options="storedata.id as storedata.name for storedata in stores" ng-change="storeAccountChange(storeaccount)">
<option value="">-- Choose store account --</option>
</select>
--选择商店帐户--
有人知道我是如何解决这个问题的吗?
我尝试过更改我们使用的所有库的版本,但没有任何结果。问题是,在触发模糊事件之前,Android上Chrome的显示值没有更改。所以,我通过创建这个小指令来解决这个问题:
link: function(scope, element, attrs) {
scope.$on('blur', function(event, operation){
if (operation == attrs.bluron) element[0].blur();
});
}