|
|
|
@ -280,7 +280,7 @@ const filterOption = (input: string, option: any) => {
|
|
|
|
|
}" |
|
|
|
|
> |
|
|
|
|
<template v-for="selectedOpt of vModel" :key="selectedOpt.value"> |
|
|
|
|
<a-tag class="rounded-tag" color="'#ccc'"> |
|
|
|
|
<a-tag class="rounded-tag max-w-full" color="'#ccc'"> |
|
|
|
|
<span |
|
|
|
|
:style="{ |
|
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
|
@ -290,7 +290,21 @@ const filterOption = (input: string, option: any) => {
|
|
|
|
|
}" |
|
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
|
> |
|
|
|
|
{{ selectedOpt.label }} |
|
|
|
|
<NcTooltip class="truncate max-w-full" show-on-truncate-only> |
|
|
|
|
<template #title> |
|
|
|
|
{{ selectedOpt.label }} |
|
|
|
|
</template> |
|
|
|
|
<span |
|
|
|
|
class="text-ellipsis overflow-hidden" |
|
|
|
|
:style="{ |
|
|
|
|
wordBreak: 'keep-all', |
|
|
|
|
whiteSpace: 'nowrap', |
|
|
|
|
display: 'inline', |
|
|
|
|
}" |
|
|
|
|
> |
|
|
|
|
{{ selectedOpt.label }} |
|
|
|
|
</span> |
|
|
|
|
</NcTooltip> |
|
|
|
|
</span> |
|
|
|
|
</a-tag> |
|
|
|
|
</template> |
|
|
|
@ -310,7 +324,7 @@ const filterOption = (input: string, option: any) => {
|
|
|
|
|
:open="isOpen && editAllowed" |
|
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell ${isOpen ? 'active' : ''}`" |
|
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell !min-w-200px ${isOpen ? 'active' : ''}`" |
|
|
|
|
:filter-option="filterOption" |
|
|
|
|
@search="search" |
|
|
|
|
@keydown.stop |
|
|
|
@ -326,7 +340,7 @@ const filterOption = (input: string, option: any) => {
|
|
|
|
|
:class="`nc-select-option-${column.title}-${op.email}`" |
|
|
|
|
@click.stop |
|
|
|
|
> |
|
|
|
|
<a-tag class="rounded-tag !pl-0" color="'#ccc'"> |
|
|
|
|
<a-tag class="rounded-tag max-w-full !pl-0" color="'#ccc'"> |
|
|
|
|
<span |
|
|
|
|
:style="{ |
|
|
|
|
'color': tinycolor.isReadable('#ccc' || '#ccc', '#fff', { level: 'AA', size: 'large' }) |
|
|
|
@ -338,9 +352,21 @@ const filterOption = (input: string, option: any) => {
|
|
|
|
|
:class="{ 'text-sm': isKanban }" |
|
|
|
|
> |
|
|
|
|
<GeneralUserIcon size="medium" :email="op.email" /> |
|
|
|
|
<span> |
|
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
|
</span> |
|
|
|
|
<NcTooltip class="truncate max-w-full" show-on-truncate-only> |
|
|
|
|
<template #title> |
|
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
|
</template> |
|
|
|
|
<span |
|
|
|
|
class="text-ellipsis overflow-hidden" |
|
|
|
|
:style="{ |
|
|
|
|
wordBreak: 'keep-all', |
|
|
|
|
whiteSpace: 'nowrap', |
|
|
|
|
display: 'inline', |
|
|
|
|
}" |
|
|
|
|
> |
|
|
|
|
{{ op.display_name?.length ? op.display_name : op.email }} |
|
|
|
|
</span> |
|
|
|
|
</NcTooltip> |
|
|
|
|
</span> |
|
|
|
|
</a-tag> |
|
|
|
|
</a-select-option> |
|
|
|
|