@@ -360,6 +370,9 @@ const filterOption = (input: string, option: any) => {
whiteSpace: 'nowrap',
display: 'inline',
}"
+ :class="{
+ 'text-gray-600': !isCollaborator(op.id || op.email),
+ }"
>
{{ op.display_name?.trim() || op.email }}
@@ -408,6 +421,7 @@ const filterOption = (input: string, option: any) => {
>
{
whiteSpace: 'nowrap',
display: 'inline',
}"
+ :class="{
+ 'text-gray-600': !isCollaborator(selectedOpt.value),
+ }"
>
{{ selectedOpt.label }}
@@ -540,9 +557,16 @@ const filterOption = (input: string, option: any) => {
:name="!label?.includes('@') ? label.trim() : ''"
:email="label"
class="!text-[0.65rem]"
+ :disabled="!isCollaborator(val)"
/>
- {{ label }}
+
+ {{ label }}
+