fix: allow grid inside grid
This commit is contained in:
parent
11fec38acd
commit
9167525656
@ -69,6 +69,12 @@
|
||||
field.onChange && field.onChange(data, index)
|
||||
"
|
||||
/>
|
||||
<Grid
|
||||
v-else-if="field.type === 'Table'"
|
||||
v-model="data[field.name]"
|
||||
:fields="field.fields || []"
|
||||
:gridFields="field.gridFields || []"
|
||||
/>
|
||||
<div
|
||||
v-else-if="field.type === 'Check'"
|
||||
class="flex h-full justify-center items-center"
|
||||
@ -230,6 +236,7 @@
|
||||
<script setup lang="ts">
|
||||
import FieldLayout from '@/components/FieldLayout.vue'
|
||||
import Link from '@/components/Controls/Link.vue'
|
||||
import Grid from '@/components/Controls/Grid.vue'
|
||||
import { GridColumn, GridRow } from '@/types/controls'
|
||||
import { getRandom, getFormat } from '@/utils'
|
||||
import {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user