|
|
@ -226,7 +226,7 @@ watch(inputWrapperRef, () => { |
|
|
|
v-else-if="editEnabled && !isVisible" |
|
|
|
v-else-if="editEnabled && !isVisible" |
|
|
|
:ref="focus" |
|
|
|
:ref="focus" |
|
|
|
v-model="vModel" |
|
|
|
v-model="vModel" |
|
|
|
rows="4" |
|
|
|
:rows="isForm ? 5 : 4" |
|
|
|
class="h-full w-full outline-none border-none nc-scrollbar-lg" |
|
|
|
class="h-full w-full outline-none border-none nc-scrollbar-lg" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'p-2': editEnabled, |
|
|
|
'p-2': editEnabled, |
|
|
@ -234,7 +234,7 @@ watch(inputWrapperRef, () => { |
|
|
|
'px-2': isExpandedFormOpen, |
|
|
|
'px-2': isExpandedFormOpen, |
|
|
|
}" |
|
|
|
}" |
|
|
|
:style="{ |
|
|
|
:style="{ |
|
|
|
minHeight: `${height}px`, |
|
|
|
minHeight: isForm ? '117px' : `${height}px`, |
|
|
|
}" |
|
|
|
}" |
|
|
|
:placeholder="isEditColumn ? $t('labels.optional') : ''" |
|
|
|
:placeholder="isEditColumn ? $t('labels.optional') : ''" |
|
|
|
:disabled="readOnly" |
|
|
|
:disabled="readOnly" |
|
|
@ -270,7 +270,7 @@ watch(inputWrapperRef, () => { |
|
|
|
<NcTooltip |
|
|
|
<NcTooltip |
|
|
|
v-if="!isVisible" |
|
|
|
v-if="!isVisible" |
|
|
|
placement="bottom" |
|
|
|
placement="bottom" |
|
|
|
class="!absolute right-0 hidden nc-text-area-expand-btn group-hover:block z-3" |
|
|
|
class="!absolute right-1 hidden nc-text-area-expand-btn group-hover:block z-3" |
|
|
|
:class="isExpandedFormOpen || isForm ? 'top-1' : 'bottom-1'" |
|
|
|
:class="isExpandedFormOpen || isForm ? 'top-1' : 'bottom-1'" |
|
|
|
> |
|
|
|
> |
|
|
|
<template #title>{{ $t('title.expand') }}</template> |
|
|
|
<template #title>{{ $t('title.expand') }}</template> |
|
|
|