chore: adds array within row in tabsDoc data
This commit is contained in:
@@ -142,6 +142,21 @@ const TabsFields: CollectionConfig = {
|
||||
type: 'text',
|
||||
defaultValue: namedTabDefaultValue,
|
||||
},
|
||||
{
|
||||
type: 'row',
|
||||
fields: [
|
||||
{
|
||||
name: 'arrayInRow',
|
||||
type: 'array',
|
||||
fields: [
|
||||
{
|
||||
name: 'textInArrayInRow',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -35,6 +35,11 @@ export const tabsDoc: Partial<TabsField> = {
|
||||
},
|
||||
],
|
||||
text: namedTabText,
|
||||
arrayInRow: [
|
||||
{
|
||||
text: "Hello, I'm some text in an array in a row",
|
||||
},
|
||||
],
|
||||
},
|
||||
localizedTab: {
|
||||
text: localizedTextValue,
|
||||
|
||||
@@ -1084,6 +1084,10 @@ export interface TabsField {
|
||||
}[]
|
||||
text?: string | null
|
||||
defaultValue?: string | null
|
||||
arrayInRow?: {
|
||||
text: string
|
||||
id?: string | null
|
||||
}[]
|
||||
}
|
||||
namedTabWithDefaultValue: {
|
||||
defaultValue?: string | null
|
||||
|
||||
Reference in New Issue
Block a user