This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 308
308
var processed = true ;
309
309
switch ( key ) {
310
310
case Key . Down :
311
- if ( ! ctrl . open && ctrl . multiple ) ctrl . activate ( true ) ; //In case its the search input in 'multiple' mode
311
+ if ( ! ctrl . open && ctrl . multiple ) ctrl . activate ( false , true ) ; //In case its the search input in 'multiple' mode
312
312
else if ( ctrl . activeIndex < ctrl . items . length - 1 ) { ctrl . activeIndex ++ ; }
313
313
break ;
314
314
case Key . Up :
315
- if ( ! ctrl . open && ctrl . multiple ) ctrl . activate ( true ) ; //In case its the search input in 'multiple' mode
315
+ if ( ! ctrl . open && ctrl . multiple ) ctrl . activate ( false , true ) ; //In case its the search input in 'multiple' mode
316
316
else if ( ctrl . activeIndex > 0 ) { ctrl . activeIndex -- ; }
317
317
break ;
318
318
case Key . Tab :
323
323
if ( ctrl . open ) {
324
324
ctrl . select ( ctrl . items [ ctrl . activeIndex ] ) ;
325
325
} else {
326
- ctrl . activate ( true ) ; //In case its the search input in 'multiple' mode
326
+ ctrl . activate ( false , true ) ; //In case its the search input in 'multiple' mode
327
327
}
328
328
break ;
329
329
case Key . Escape :
777
777
$compile ( element , transcludeFn ) ( scope ) ; //Passing current transcludeFn to be able to append elements correctly from uisTranscludeAppend
778
778
779
779
scope . $watch ( '$select.search' , function ( newValue ) {
780
- if ( newValue && ! $select . open && $select . multiple ) $select . activate ( true ) ;
780
+ if ( newValue && ! $select . open && $select . multiple ) $select . activate ( false , true ) ;
781
781
$select . activeIndex = 0 ;
782
782
$select . refresh ( attrs . refresh ) ;
783
783
} ) ;
You can’t perform that action at this time.
0 commit comments