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

22 lines
752 B
HTML
Raw Normal View History

<vn-vertical ng-click="$ctrl.showDropDown = true" tabindex="0">
<vn-textfield vn-auto
label="{{$ctrl.label}}"
model="$ctrl.displayValue"
readonly="$ctrl.readonly"
tab-index="-1"
>
</vn-textfield>
2017-11-23 13:09:38 +00:00
<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"
><vn-item ng-transclude="tplItem">{{$parent.item[$ctrl.showField]}}</vn-item></vn-drop-down>
2017-09-13 12:59:58 +00:00
</vn-vertical>