We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029f8f6 commit cf3f6a2Copy full SHA for cf3f6a2
src/auto-complete.template.html
@@ -2,10 +2,15 @@
2
ng-class="{display: $ctrl.visible}"
3
class="dropdown-menu"
4
role="menu">
5
- <li ng-if="$ctrl.path.length > 0">
6
- <a ng-click="$ctrl.previous()">< {{$ctrl.currentItem.title}}</a>
+ <li>
+ <a ng-if="$ctrl.path.length > 0"
7
+ ng-click="$ctrl.previous()">
8
+ < {{$ctrl.currentItem.title}}
9
+ </a>
10
+ <span ng-if="$ctrl.path.length === 0">
11
+ {{$ctrl.currentItem.title}}
12
+ </span>
13
</li>
- <li ng-if="$ctrl.path.length === 0"><span>Root</span></li>
14
<li role="menuitem"
15
class="menuitem"
16
ng-repeat="item in $ctrl.currentItem.data track by item.code">
0 commit comments