0
0
Fork 0

fix: refs #7524 use id

This commit is contained in:
Jorge Penadés 2024-08-26 16:55:16 +02:00
parent 7c2a13db0b
commit 717c52fc02
1 changed files with 6 additions and 1 deletions

View File

@ -97,7 +97,12 @@ const title = ref();
:rules="validate('client.salesPersonFk')"
:use-like="false"
:emit-value="false"
@update:model-value="(val) => (title = val?.nickname)"
@update:model-value="
(val) => {
title = val?.nickname;
data.salesPersonFk = val?.id;
}
"
>
<template #prepend>
<VnAvatar