|
|
@ -263,13 +263,14 @@ const filterOption = (input: string, option: any) => { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="nc-user-select h-full w-full flex items-center" :class="{ 'read-only': readOnly }" @click="toggleMenu"> |
|
|
|
<div |
|
|
|
|
|
|
|
class="nc-user-select h-full w-full flex items-center" |
|
|
|
|
|
|
|
:class="{ 'read-only': readOnly, 'px-2': isExpandedFormOpen }" |
|
|
|
|
|
|
|
@click="toggleMenu" |
|
|
|
|
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="!active" |
|
|
|
v-if="!active" |
|
|
|
class="flex flex-wrap" |
|
|
|
class="flex flex-wrap" |
|
|
|
:class="{ |
|
|
|
|
|
|
|
'px-2': isExpandedFormOpen, |
|
|
|
|
|
|
|
}" |
|
|
|
|
|
|
|
:style="{ |
|
|
|
:style="{ |
|
|
|
'display': '-webkit-box', |
|
|
|
'display': '-webkit-box', |
|
|
|
'max-width': '100%', |
|
|
|
'max-width': '100%', |
|
|
@ -308,7 +309,7 @@ const filterOption = (input: string, option: any) => { |
|
|
|
:show-arrow="editAllowed && !readOnly" |
|
|
|
:show-arrow="editAllowed && !readOnly" |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:open="isOpen && editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:disabled="readOnly || !editAllowed" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles, '!px-2': isExpandedFormOpen }" |
|
|
|
:class="{ 'caret-transparent': !hasEditRoles }" |
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell ${isOpen ? 'active' : ''}`" |
|
|
|
:dropdown-class-name="`nc-dropdown-user-select-cell ${isOpen ? 'active' : ''}`" |
|
|
|
:filter-option="filterOption" |
|
|
|
:filter-option="filterOption" |
|
|
|
@search="search" |
|
|
|
@search="search" |
|
|
|