2016-10-06 12 views
0

私のページにアンカータグがあります。無効にしても、Microsoft Edgeブラウザではクリック可能です。Microsoft Edge - 無効なリンクをクリック可能

<a ng-disabled="true" ng-click="Click()">Link</a> 


a[disabled] { 
    pointer-events: none; 
} 

どうすれば解決できますか?

+0

可能な重複[AngularJS - NG-無効アンカータグのために働いていません](http://stackoverflow.com/questions/30479105/angularjs-ng-disabled-not-working-アンカータグ用) – steveax

答えて

0

試してみてください。

.disabled { 
    cursor: not-allowed; 
} 

<a ng-click="disabled()" ng-class="{disabled: addInviteesDisabled()}">Link</a> 

$scope.disabled = function() { 
    //your display logic goes here should return true/false 
} 
関連する問題