I'm exploring the development of a Payload CMS project featuring a collection of pages, each with a 'blocks' field. I aim to configure different block options based on the selected page type (for instance, 'home' or 'contact'). Is this level of customization feasible within Payload CMS? If it is, could you guide me on implementing this feature?
I attempted utilizing the 'condition' option within the component, yet it appears unable to modify the options within the blocks.
This is not currently supported in Payload. Your config will have to split up the blocks by the page type. For example:
Then the frontend will need to render the blocks available based on the type.