2018-01-16 12:54:21 +00:00
|
|
|
<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"
|
2017-10-10 10:56:03 +00:00
|
|
|
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"
|
2018-01-29 11:37:54 +00:00
|
|
|
><vn-item ng-transclude="tplItem">{{$parent.item[$ctrl.showField]}}</vn-item></vn-drop-down>
|
2017-09-13 12:59:58 +00:00
|
|
|
</vn-vertical>
|