clients autocompletes now order by id
This commit is contained in:
parent
81ef984597
commit
100871edf6
|
@ -16,7 +16,8 @@
|
|||
url="/client/api/Clients"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
label="Client">
|
||||
label="Client"
|
||||
order="id">
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
vn-one
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
search-function="{or: [{id: {regexp: $search}}, {name: {regexp: $search}}]}"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
field="$ctrl.order.clientFk">
|
||||
field="$ctrl.order.clientFk"
|
||||
order="id">
|
||||
<tpl-item>{{id}}: {{name}}</tpl-item>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
search-function="{or: [{id: {regexp: $search}}, {name: {regexp: $search}}]}"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
field="$ctrl.clientFk">
|
||||
field="$ctrl.clientFk"
|
||||
order="id">
|
||||
<tpl-item>{{id}}: {{name}}</tpl-item>
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
show-field="name"
|
||||
value-field="id"
|
||||
field="$ctrl.clientFk"
|
||||
initial-data="$ctrl.clientFk">
|
||||
initial-data="$ctrl.clientFk"
|
||||
order="id">
|
||||
</vn-autocomplete>
|
||||
<vn-autocomplete vn-one
|
||||
data="$ctrl.addresses"
|
||||
|
|
Loading…
Reference in New Issue