Click here to Skip to main content
14,742,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Ng-repeat is not showing any data in select options. is there any different way to show option value in select for ng-repeat

When I am using without class="selectpicker" in select tag. Its working fine. How can I use bootstrap select with ng-repeat.

What I have tried:

<link rel="stylesheet" href="">
<script src=""></script>

<select ng-model="selEmployee" name="selEmployee" class="selectpicker">
   <option value=0>All</option>
   <option ng-repeat="employee in employees" value="{{employee.Ldap | lowercase}} ">{{employee.FirstName}} {{employee.LastName}}</option>
Muni Kumar G 28-Oct-19 5:18am
Did you check weather the employees has multiple employee records and inspect the dom and see weather it created multiple options are not.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900