Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
why dropdown not showing values
Md Ghouse
Jul 28 2016 7:44 AM
486
Reply
this is my dropdownList here data comming from db but dropdown not showing plese help me
<select id="ddlDepartment" class="form-control" data-modal="modal" ng-model="employeeDepartment" ng-options="dep.CountryID as dep.CountryName for dep in departments" ng-required="true">
<option value="" disabled selected>--Select Department--</option>
<option data-ng-repeat="dep in departments" value="{{dep.CountryID}}">{{dep.CountryName}}</option>
</select>
function GetDepartments() {
var departments = Mysercive.BindCntryList();
departments.then(function (dep) {
$scope.departments = dep.data;
}
});
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to allow zooming for touch devices?
Which is the best code for creating a quiz