Issue
How in angular 1 depending on scope can I add e-required attribute? Doesn't want to use ng-show
E.g. for $scope.disableStreetValidation = false;
<strong class="test" e-required>.
And for: $scope.disableStreetValidation = true;
<strong class="test">.
Solution
Following this solution, you should use this syntaks:
<strong class="test" ng-attr-e-required="{{disableStreetValidation || undefined}}">
Answered By - AvgustinTomsic
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.