Group field required Type

default discord avatar
2 months ago


I'm on payload version


and there was an update a few versions ago for arrays and groups to no longer be a forced required type.

For array fields we still have the option to add the parameter

required: true

but this is not he case for group fields.

I require the group type to exist in some cases and since it is now optional I am having type issues elsewhere in my monorepo.

Can we have an option to force a group as required?

  • discord user avatar
    Payload Team
    2 months ago

    Hey David, feel free to open a feature request for this in GH Discussions. It seems like something we should look at.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.