salix/client/core/src/autocomplete/autocomplete.html

16 lines
683 B
HTML
Raw Normal View History

2017-09-14 11:40:55 +00:00
<vn-vertical ng-click="$ctrl.showDropDown = true">
2017-11-23 13:09:38 +00:00
<vn-textfield vn-auto label="{{$ctrl.label}}" model="$ctrl.displayValue" readonly="$ctrl.readonly"></vn-textfield>
<vn-drop-down vn-auto
2017-09-14 11:40:55 +00:00
items="$ctrl.items"
show="$ctrl.showDropDown"
selected="$ctrl.field"
2017-09-20 11:52:53 +00:00
filter="true"
2017-09-14 11:40:55 +00:00
load-more="$ctrl.getItems()"
show-load-more="$ctrl.maxRow"
remove-load-more="$ctrl.removeLoadMore"
2017-09-14 11:40:55 +00:00
filter-action="$ctrl.findItems(search)"
item-width="$ctrl.width"
2017-09-20 11:52:53 +00:00
multiple="$ctrl.multiple"
2017-11-22 12:10:33 +00:00
parent = "$ctrl.element"
2017-09-20 09:50:53 +00:00
><vn-item ng-transclude="tplItem">{{$parent.item.name}}</vn-item></vn-drop-down>
2017-09-13 12:59:58 +00:00
</vn-vertical>