5244-component_workerAutocomplete #1679

Merged
vicent merged 33 commits from 5244-component_workerAutocomplete into dev 2023-08-25 08:56:46 +00:00
2 changed files with 15 additions and 2 deletions
Showing only changes of commit daeed312d0 - Show all commits

View File

@ -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>

View File

@ -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>