Open thijssmudde opened 4 months ago
I have a global which uses a field with type "blocks". Now my question is if it can be made possible that a SlugField can be enabled for a Block in Payload. For example, the following Folder Block should have a slug field.
export const Folder: Block = { slug: "folder", fields: [ { name: "title", label: "Titel", type: "text", required: true, }, ...SlugField( { name: "slug", }, { useFields: ["title"], }, ), ], };
I have a global which uses a field with type "blocks". Now my question is if it can be made possible that a SlugField can be enabled for a Block in Payload. For example, the following Folder Block should have a slug field.