html - angularjs fields blocked -
i have issue angular application, it's in pc; on one, it's working.
i have fields blocked (not disabled); when try edit item, it's frozen.
here code:
<div class="form-group left-text " > <div class="col-md-3 col-sm-12" >question :</div> <div class="col-md-7 col-sm-12"> <input type="text" class="form-control" ng-model='item.question' value="<%item.question%>" ng-disabled='currentdict.id != 0'><br/> </div> </div> $scope.onload = $http({ method: 'get', url: '/item' }).success(function(data, status, headers, config) { $scope.item = data;
what freeze field , other fields too?
in same form have these 2 lists 1 in bottom working , other frozen ! half of form in top frozen :
<div class="form-group left-text " > <div class="col-md-3 col-sm-12" >question language :</div> <div class="col-md-7 col-sm-12"> <select class="form-control" id='qlang' ng-model='newqlang' ng-options='language.language language in qlanguages track language.id' > </select><br/> </div> </div> <div class="form-group left-text" > <div class="col-md-3 col-sm-12">answer language : </div> <div class="col-md-7 col-sm-12"> <select class="form-control" id='alang' ng-model='newalang' ng-options='language.language language in alanguages track language.id' > </select><br/> </div> </div>
Comments
Post a Comment