|
@@ -11,21 +11,23 @@
|
11
|
11
|
narrow your display.
|
12
|
12
|
</p>-->
|
13
|
13
|
<div lu-busy="sidebar">
|
14
|
|
- <md-autocomplete
|
15
|
|
- md-selected-item="Search.selected"
|
16
|
|
- md-search-text="Search.value"
|
17
|
|
- md-selected-item-change="goTo(item)"
|
18
|
|
- md-items="item in search(ctrl.searchText)"
|
19
|
|
- md-item-text="item.Name"
|
20
|
|
- md-min-length="1"
|
21
|
|
- placeholder="Type a group name...">
|
22
|
|
- <md-item-template>
|
23
|
|
- <span md-highlight-text="ctrl.searchText" md-highlight-flags="^i">{{item.Name}}</span>
|
24
|
|
- </md-item-template>
|
25
|
|
- <md-not-found>
|
26
|
|
- No groups matching "{{Search.value}}" were found.
|
27
|
|
- </md-not-found>
|
28
|
|
- </md-autocomplete>
|
|
14
|
+ <form ng-submit="goToFirstMatch()">
|
|
15
|
+ <md-autocomplete
|
|
16
|
+ md-selected-item="Search.selected"
|
|
17
|
+ md-search-text="Search.value"
|
|
18
|
+ md-selected-item-change="goTo(item)"
|
|
19
|
+ md-items="item in search(ctrl.searchText)"
|
|
20
|
+ md-item-text="item.Name"
|
|
21
|
+ md-min-length="1"
|
|
22
|
+ placeholder="Type a group name...">
|
|
23
|
+ <md-item-template>
|
|
24
|
+ <span md-highlight-text="ctrl.searchText" md-highlight-flags="^i">{{item.Name}}</span>
|
|
25
|
+ </md-item-template>
|
|
26
|
+ <md-not-found>
|
|
27
|
+ No groups matching "{{Search.value}}" were found.
|
|
28
|
+ </md-not-found>
|
|
29
|
+ </md-autocomplete>
|
|
30
|
+ </form>
|
29
|
31
|
|
30
|
32
|
<ul class="col-sm-12 sidebar-group-list">
|
31
|
33
|
<li ng-show="DataShareBusiness.CurrentGroups.length != 0" class="col-xs-12">
|