Browse Source

fix(gui-v2): property name correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2716/head
Pranav C 2 years ago
parent
commit
3ff55ed623
  1. 2
      packages/nc-gui-v2/components/smartsheet/Grid.vue
  2. 2
      packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue
  3. 2
      packages/nc-gui-v2/components/virtual-cell/HasMany.vue
  4. 2
      packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue

2
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -171,7 +171,7 @@ watch(
.nc-grid-wrapper {
width: 100%;
// todo : proper height calculation
height: calc(100vh - 250px);
height: calc(100vh - 215px);
overflow: auto;
td,

2
packages/nc-gui-v2/components/virtual-cell/BelongsTo.vue

@ -315,7 +315,7 @@ export default {
<!-- <template v-if="!isForm"> -->
<div class="chips d-flex align-center img-container flex-grow-1 hm-items">
<template v-if="value || localState">
<ItemChip :active="active" :item="value" :value="value[primaryValueProp]" />
<ItemChip :active="active" :item="value" :modelValue="value[primaryValueProp]" />
<!-- :readonly="isLocked || (isPublic && !isForm)"
@edit="editParent"
@unlink="unlink" -->

2
packages/nc-gui-v2/components/virtual-cell/HasMany.vue

@ -376,7 +376,7 @@ export default {
<!-- <template v-if="!isForm"> -->
<div class="chips d-flex align-center img-container flex-grow-1 hm-items flex-nowrap">
<template v-if="value || localState">
<ItemChip v-for="(ch, i) in value || localState" :key="i" :value="ch[primaryValueProp]" />
<ItemChip v-for="(ch, i) in value || localState" :key="i" :modelValue="ch[primaryValueProp]" />
<!--
:active="active" :item="ch"

2
packages/nc-gui-v2/components/virtual-cell/ManyToMany.vue

@ -399,7 +399,7 @@ export default {
<!-- <template v-if="!isForm"> -->
<div class="chips d-flex align-center img-container flex-grow-1 hm-items flex-nowrap">
<template v-if="value || localState">
<ItemChip v-for="(v, j) in value || localState" :key="j" :item="v" :value="v[primaryValueProp]" />
<ItemChip v-for="(v, j) in value || localState" :key="j" :item="v" :modelValue="v[primaryValueProp]" />
<!-- :active="active"
:readonly="isLocked || isPublic"

Loading…
Cancel
Save