Skip to content

Migrated static block super table fields don't get a Max Entries settings #570

@MoritzLost

Description

@MoritzLost

Describe the bug

During the update to Craft 5, Super Table fields become identical to Matrix fields and lose all their existing settings. During that migration, the static block option disappears. Those fields were essentially limited to one block. It would make sense to migrate that field setting to a Max Entries setting of 1. At the moment, this doesn't happen, so now it's possible to create multiple entries in a field that previously only supported one super table block.

Would it be possible to automatically migrate a field set to display as a static block to have a Max Entries setting of 1?

Steps to reproduce

  1. Update a site with a Super Table field using the static block option to Craft 5.

Craft CMS version

5.5.6.1

Plugin version

4.0.2

Multi-site?

No response

Additional context

No response

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