feat: retrofits array to new collapsible component

This commit is contained in:
James
2022-07-13 20:09:50 -07:00
parent 270dd22f08
commit aa89251a3b
32 changed files with 696 additions and 184 deletions

View File

@@ -8,7 +8,7 @@ export default buildConfig({
slug: 'array-fields',
fields: [
{
name: 'array',
name: 'items',
type: 'array',
required: true,
fields: [
@@ -59,6 +59,9 @@ export default buildConfig({
{
label: 'Collapsible Field',
type: 'collapsible',
admin: {
description: 'This is a collapsible field.',
},
fields: [
{
name: 'text',

View File

@@ -1,5 +1,5 @@
export const arrayDoc = {
array: [
items: [
{
text: 'first row',
},