|
|
@ -282,12 +282,14 @@ onMounted(() => { |
|
|
|
|
|
|
|
|
|
|
|
<NcTooltip :disabled="!field?.read_only"> |
|
|
|
<NcTooltip :disabled="!field?.read_only"> |
|
|
|
<template #title> {{ $t('activity.preFilledFields.lockedFieldTooltip') }} </template> |
|
|
|
<template #title> {{ $t('activity.preFilledFields.lockedFieldTooltip') }} </template> |
|
|
|
|
|
|
|
|
|
|
|
<LazySmartsheetDivDataCell v-if="field.title" class="relative nc-form-data-cell"> |
|
|
|
<LazySmartsheetDivDataCell v-if="field.title" class="relative nc-form-data-cell"> |
|
|
|
<LazySmartsheetVirtualCell |
|
|
|
<LazySmartsheetVirtualCell |
|
|
|
v-if="isVirtualCol(field)" |
|
|
|
v-if="isVirtualCol(field)" |
|
|
|
v-model="formState[field.title]" |
|
|
|
v-model="formState[field.title]" |
|
|
|
class="mt-0 nc-input h-auto" |
|
|
|
class="mt-0 nc-input h-auto" |
|
|
|
|
|
|
|
:class="{ |
|
|
|
|
|
|
|
readonly: field?.read_only, |
|
|
|
|
|
|
|
}" |
|
|
|
:row="{ row: {}, oldRow: {}, rowMeta: {} }" |
|
|
|
:row="{ row: {}, oldRow: {}, rowMeta: {} }" |
|
|
|
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`" |
|
|
|
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`" |
|
|
|
:column="field" |
|
|
|
:column="field" |
|
|
@ -298,7 +300,7 @@ onMounted(() => { |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
v-model="formState[field.title]" |
|
|
|
v-model="formState[field.title]" |
|
|
|
class="nc-input h-auto" |
|
|
|
class="nc-input h-auto" |
|
|
|
:class="parseProp(field?.meta)?.isList ? 'layout-list' : ''" |
|
|
|
:class="{ 'layout-list': parseProp(field?.meta)?.isList, 'readonly': field?.read_only }" |
|
|
|
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`" |
|
|
|
:data-testid="`nc-survey-form__input-${field.title.replaceAll(' ', '')}`" |
|
|
|
:column="field" |
|
|
|
:column="field" |
|
|
|
:edit-enabled="!field?.read_only" |
|
|
|
:edit-enabled="!field?.read_only" |
|
|
|