fix: mutation type with tabs missing previous tabs (#3196)

This commit is contained in:
Paul
2023-08-24 21:29:25 +03:00
committed by GitHub
parent cb8e07f852
commit 6d3b8636f4
2 changed files with 44 additions and 1 deletions

View File

@@ -141,5 +141,48 @@ export default buildConfigWithDefaults({
},
],
},
{
slug: 'collection3',
fields: [
{
type: 'tabs',
tabs: [
{
label: 'Tab 1',
fields: [
{
name: 'descriptiontab1',
type: 'textarea',
},
],
},
{
label: 'Tab 2',
name: 'tab2',
fields: [
{
type: 'select',
name: 'selecttab2',
options: [
{ value: 'option1', label: 'Option 1' },
{ value: 'option2', label: 'Option 2' },
],
},
],
},
{
label: 'Tab3',
name: 'tab3',
fields: [
{
name: 'acheckbox',
type: 'checkbox',
},
],
},
],
},
],
},
],
});