File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
< div class ='container-fluid ' ng-controller ="TypeaheadCtrl ">
2
2
< pre > Model: {{selected| json}}</ pre >
3
- < input type ="text " ng-model ="selected " typeahead ="state for state in states | filter:$viewValue | limitTo:8 ">
3
+ < input type ="text " ng-model ="selected " typeahead ="state for state in states | filter:$viewValue | limitTo:8 " class =" form-control " >
4
4
</ div >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ describe('typeahead tests', function () {
47
47
} ;
48
48
49
49
var findDropDown = function ( element ) {
50
- return element . find ( 'ul.typeahead ' ) ;
50
+ return element . find ( 'ul' ) ;
51
51
} ;
52
52
53
53
var findMatches = function ( element ) {
Original file line number Diff line number Diff line change 1
- < ul class ="typeahead dropdown-menu " ng-style ="{display: isOpen()&&'block' || 'none', top: position.top+'px', left: position.left+'px'} ">
1
+ < ul class ="dropdown-menu " ng-style ="{display: isOpen()&&'block' || 'none', top: position.top+'px', left: position.left+'px'} ">
2
2
< li ng-repeat ="match in matches " ng-class ="{active: isActive($index) } " ng-mouseenter ="selectActive($index) " ng-click ="selectMatch($index) ">
3
3
< typeahead-match index ="$index " match ="match " query ="query " template-url ="templateUrl "> </ typeahead-match >
4
4
</ li >
You can’t perform that action at this time.
0 commit comments