Group field required Type

default discord avatar
David
2 months ago
1

Hi,



I'm on payload version

1.6.22

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
    denolfe
    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!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

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