diff --git a/test/fields/collections/Tabs/index.ts b/test/fields/collections/Tabs/index.ts index 9e891793b..877418555 100644 --- a/test/fields/collections/Tabs/index.ts +++ b/test/fields/collections/Tabs/index.ts @@ -142,6 +142,21 @@ const TabsFields: CollectionConfig = { type: 'text', defaultValue: namedTabDefaultValue, }, + { + type: 'row', + fields: [ + { + name: 'arrayInRow', + type: 'array', + fields: [ + { + name: 'textInArrayInRow', + type: 'text', + }, + ], + }, + ], + }, ], }, { diff --git a/test/fields/collections/Tabs/shared.ts b/test/fields/collections/Tabs/shared.ts index 074ba6ee7..9e20758cf 100644 --- a/test/fields/collections/Tabs/shared.ts +++ b/test/fields/collections/Tabs/shared.ts @@ -35,6 +35,11 @@ export const tabsDoc: Partial = { }, ], text: namedTabText, + arrayInRow: [ + { + text: "Hello, I'm some text in an array in a row", + }, + ], }, localizedTab: { text: localizedTextValue, diff --git a/test/fields/payload-types.ts b/test/fields/payload-types.ts index be677a8e2..1497ffb56 100644 --- a/test/fields/payload-types.ts +++ b/test/fields/payload-types.ts @@ -1084,6 +1084,10 @@ export interface TabsField { }[] text?: string | null defaultValue?: string | null + arrayInRow?: { + text: string + id?: string | null + }[] } namedTabWithDefaultValue: { defaultValue?: string | null