angularjs - html select option have issue using angular.js -
i have problem > http://jsfiddle.net/wwno55hj/109/ want stay 2 string: true , false. if $scope.readonly = true;
in html selected must true , if $scope.readonly = false;
in html selected must false.
ngselected
used in <option>
not <select>
.
https://docs.angularjs.org/api/ng/directive/ngselected
see this: http://jsfiddle.net/wwno55hj/112/
Comments
Post a Comment