5244-component_workerAutocomplete #1679
|
@ -2,8 +2,20 @@
|
|||
vn-one
|
||||
url="Workers/activeWithInheritedRole"
|
||||
ng-model="$ctrl.workerFk"
|
||||
show-field="nickname"
|
||||
search-function="{firstName: $search}"
|
||||
value-field="id"
|
||||
label="Worker">
|
||||
<tpl-item>
|
||||
<div>
|
||||
{{firstName}} {{lastName}}
|
||||
</div>
|
||||
<div class="text-caption text-secondary">
|
||||
{{nickname}}, {{code}}
|
||||
</div>
|
||||
</vn-autocomplete>
|
||||
<vn-drop-down
|
||||
vn-id="drop-down"
|
||||
on-select="$ctrl.onDropDownSelect(item)"
|
||||
on-data-ready="$ctrl.onDataReady()"
|
||||
on-close-start="$ctrl.onDropDownClose()">
|
||||
</vn-drop-down>
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
label="State"
|
||||
vn-focus>
|
||||
</vn-autocomplete>
|
||||
<vn-worker-autocomplete>
|
||||
<vn-worker-autocomplete
|
||||
ng-if="$ctrl.isPickerDesignedState">
|
||||
</vn-worker-autocomplete>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
|
|
Loading…
Reference in New Issue