fix: Options VnSelect properties #746

Merged
alexm merged 5 commits from 6943_fix_customer_module into dev 2024-09-24 05:41:50 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 27a3e36b58 - Show all commits

View File

@ -111,8 +111,8 @@ const exprBuilder = (param, value) => {
}"
:fields="['id', 'nickname']"
sort-by="nickname ASC"
:option-label="'nickname'"
:option-value="'id'"
option-label="nickname"
option-value="id"
Outdated
Review

value por defecto es id
Y no usar : para poner luego strings

value por defecto es id Y no usar `:` para poner luego strings
Review

Sigue siendo el valor por defecto

Sigue siendo el valor por defecto
:rules="validate('client.salesPersonFk')"
:expr-builder="exprBuilder"
emit-value

View File

@ -428,9 +428,9 @@ function handleLocation(data, location) {
:label="t('customer.basicData.salesPerson')"
:params="{
departmentCodes: ['VT', 'shopping'],
}"
:option-label="'nickname'"
:option-value="'id'"
}"
option-label="nickname"
option-value="id"
:fields="['id', 'nickname']"
sort-by="nickname ASC"
emit-value