Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
When update access control is set to false, the blocks drawer can still be accessed. Blocks still cannot be saved to the document, making this more of a QoL improvement.
Why?
The blocks DrawerToggler is missing the disabled attribute.
How?
Adding the disabled attribute to the blocks DrawerToggler.
What?
When
update
access control is set tofalse
, the blocks drawer can still be accessed. Blocks still cannot be saved to the document, making this more of a QoL improvement.Why?
The blocks
DrawerToggler
is missing thedisabled
attribute.How?
Adding the
disabled
attribute to the blocksDrawerToggler
.Reproduction steps
https://github.com/rilrom/payload/tree/issue/disabled-add-block-button
Recordings
Before
https://github.com/user-attachments/assets/da12829d-5b27-4da9-bbd1-067d679a89ba
After
https://github.com/user-attachments/assets/67166477-b83a-4495-98ae-2d272542103b