Browse Source

Merge branch 'develop' into feat/pnpm

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
6d669c7c06
  1. 2
      packages/nc-gui/components/smartsheet/Form.vue
  2. 4
      packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue
  3. 2
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

2
packages/nc-gui/components/smartsheet/Form.vue

@ -730,7 +730,7 @@ watch(view, (nextView) => {
<LazySmartsheetDivDataCell class="relative"> <LazySmartsheetDivDataCell class="relative">
<LazySmartsheetCell <LazySmartsheetCell
v-model="formState[element.title]" v-model="formState[element.title]"
class="nc-input" class="nc-input truncate"
:class="`nc-form-input-${element.title.replaceAll(' ', '')}`" :class="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:data-testid="`nc-form-input-${element.title.replaceAll(' ', '')}`" :data-testid="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:column="element" :column="element"

4
packages/nc-gui/pages/[projectType]/form/[viewId]/index.vue

@ -120,10 +120,6 @@ p {
} }
} }
&.nc-cell-longtext {
@apply !p-0 pb-2px pr-2px;
}
textarea { textarea {
@apply px-4 py-2 rounded; @apply px-4 py-2 rounded;

2
packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

@ -165,7 +165,7 @@ const onDecode = async (scannedCodeValue: string) => {
<LazySmartsheetCell <LazySmartsheetCell
v-else v-else
v-model="formState[field.title]" v-model="formState[field.title]"
class="nc-input" class="nc-input truncate"
:data-testid="`nc-form-input-cell-${field.label || field.title}`" :data-testid="`nc-form-input-cell-${field.label || field.title}`"
:class="`nc-form-input-${field.title?.replaceAll(' ', '')}`" :class="`nc-form-input-${field.title?.replaceAll(' ', '')}`"
:column="field" :column="field"

Loading…
Cancel
Save