fix: remove @me from dropdown

This commit is contained in:
Shariq Ansari 2024-02-29 14:31:02 +05:30
parent cf1b3ed82d
commit 9a24560bc9
4 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@
value=""
doctype="User"
@change="(option) => addValue(option) && ($refs.input.value = '')"
:hideMe="true"
>
<template #item-prefix="{ option }">
<UserAvatar class="mr-2" :user="option.value" size="sm" />

View File

@ -67,6 +67,7 @@
doctype="User"
@change="(option) => (_task.assigned_to = option)"
placeholder="Assignee"
:hideMe="true"
>
<template #prefix>
<UserAvatar class="mr-2 !h-4 !w-4" :user="_task.assigned_to" />

View File

@ -35,6 +35,7 @@
:doctype="field.doctype"
@change="(e) => field.change(e)"
:placeholder="field.placeholder"
:hideMe="true"
>
<template #prefix>
<UserAvatar class="mr-2" :user="newDeal[field.name]" size="sm" />

View File

@ -35,6 +35,7 @@
:doctype="field.doctype"
@change="(e) => field.change(e)"
:placeholder="field.placeholder"
:hideMe="true"
>
<template #prefix>
<UserAvatar class="mr-2" :user="newLead[field.name]" size="sm" />