Skip to content

Race condition when spreading ...SlugField before a group of tabs #88

@ItsChrisHickman

Description

@ItsChrisHickman

Error - (name was defined) when used within a collection containing tabs. Solution is to spread the SlugField -after- the tab group.

fields: [
    {
      name: 'name',
      type: 'text',
      required: true,
    },
    ...SlugField('name')
    {
      type: 'tabs',
      tabs: [
        {
          label: 'Foo',
          fields: [
            {
              name: 'bar',
              type: 'text',
            },
        }
     ]
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions