axel-zarate / js-custom-select

Custom auto-complete select box for AngularJS and Bootstrap
MIT License
68 stars 59 forks source link

ng-repeat not working inside custom-select #56

Open smohammedyasin opened 7 years ago

smohammedyasin commented 7 years ago
 <div custom-select="u for u in vm.searchAsync($searchTerm)" custom-select-options="{'displayText':'select account', 'async': true }" ng-model="person">
                                    <div class="col-md-3">
                                        <img ng-src="{{ u.ThumbImage }}" style="width: 30px" />
                                    </div>
                                    <div class="pull-left">
                                        <strong>{{ u.FullName }}</strong><br />
                                        <span ng-repeat="role in u.Roles">
                                            {{role}}
                                        </span>
                                    </div>
                                    <div class="clearfix"></div>
                                </div>

out of html is for pull-left is:

<div class="pull-left">
                                        <strong class="ng-binding">Mohammed Yasin</strong><br>

                                        <!-- ngRepeat: role in u.Roles -->
                                    </div>

please help