refs #5244 fix: añadido vn-drop-down em html
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-05-30 15:16:15 +02:00
parent 6cf1e0953d
commit daeed312d0
2 changed files with 15 additions and 2 deletions

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>