0
votes

Typeahead is not working Angular 1.0.8 js version but is working fine in 1.2.24 version.

My application is old one and client don't want to install new version because of some other compatibility issues with jquery and Telerik controls.

How can I resolve this ? Here is my code.

 <div class="btn-group" style="height: 70%; margin-bottom:5px;">
      <input type="text" class="btn btn-primary dropdown-toggle" ng-model="holdOrder.ServiceCenterName" ng-disabled="disabled"  />

     <ul class="dropdown-menu" role="menu">
         <li ng-repeat="svCenter in holdOrder.ServiceCenters">
            <a href="" ng-click="setSelectedSC(svCenter)">{{svCenter.Fullname}}</a>
          </li>
     </ul>

1

1 Answers

0
votes

You could use ngAutocomplete which is an older module that hasn't been updated in a few months, but works just fine on Angular 1.0.8.

Some examples here (plunkers with angular 1.0.8).