Replies: 1 comment 1 reply
-
@iakshay totally, I think you're spot on. For now, you might be able to set the label as an empty space, like this: {
type: 'blocks',
label: ' '
} But looking at the source code, you'll still get the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like currently there is no way to disable label for array and blocks. I have tried using
label: false
on latest payload version forblocks
andarray
and I still seeh3
.label: false
does work for Group though. Would be nice to have consistent label behavior.Maybe we can update this line (for blocks), to only show label if one is set (similar to Group)
https://github.com/payloadcms/payload/blob/master/src/admin/components/forms/field-types/Blocks/index.tsx#L227
Beta Was this translation helpful? Give feedback.
All reactions