course displayfor university select
This commit is contained in:
parent
baf9aa7470
commit
bcc699be0c
@ -175,7 +175,13 @@ app.controller('studentCtrl', ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
"Status": ""
|
||||
}
|
||||
$scope.myUnivSearch = "";
|
||||
|
||||
$scope.coursedropdownstatus = true;
|
||||
|
||||
$scope.getUniveId = function (univ) {
|
||||
|
||||
$scope.coursedropdownstatus = false;
|
||||
|
||||
if (univ === '') {
|
||||
$scope.myUnivSearch = "";
|
||||
$scope.searchData.University = '';
|
||||
@ -1765,7 +1771,9 @@ $scope.allcourselist ='';
|
||||
"Status": ""
|
||||
}
|
||||
$scope.myUnivSearch = "";
|
||||
$scope.coursedropdownstatus = true;
|
||||
$scope.getUniveId = function (univ) {
|
||||
$scope.coursedropdownstatus = false;
|
||||
let name = JSON.parse(univ);
|
||||
$scope.searchData.University = name.UniversityID;
|
||||
$scope.searchData.Course = '';
|
||||
|
||||
@ -97,7 +97,9 @@
|
||||
Course
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course" ng-change="getValueChange()">
|
||||
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course"
|
||||
ng-disabled="coursedropdownstatus"
|
||||
ng-change="getValueChange()">
|
||||
<option value="" selected>Select Course</option>
|
||||
<option ng-repeat="itemCourse in courseData" value="{{itemCourse.CourseID}}">{{itemCourse.CourseName}}<span ng-show="itemCourse.CourseCode != ''">(<strong>{{itemCourse.CourseCode}}</strong>)</span></option>
|
||||
</select>
|
||||
|
||||
@ -137,7 +137,9 @@
|
||||
Course
|
||||
</label>
|
||||
|
||||
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course" ng-change="getValueChange()">
|
||||
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="course" ng-model="searchData.Course"
|
||||
ng-disabled="coursedropdownstatus"
|
||||
ng-change="getValueChange()">
|
||||
<option value="" selected>Select Course</option>
|
||||
<option ng-repeat="itemCourse in courseData" value="{{itemCourse.CourseID}}">{{itemCourse.CourseName}}<span ng-show="itemCourse.CourseCode != ''">(<strong>{{itemCourse.CourseCode}}</strong>)</span></option>
|
||||
</select>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user