Access: prevent update on richtext doesn't disable the UI field
Link to reproduction
https://github.com/chrisvanmook/payload/commit/6b183bf44f29f667edfae17d0a61d36cf4f7d809
Payload Version
3.0.0-beta.60
Node Version
v20.11.1
Next.js Version
15.0.0-canary.58
Describe the Bug
When adding the following to a field:
access: {
update: ({ req }) => {
return false;
},
},
it disables the UI, except for the richtext editor:
Reproduction Steps
Add the following to a collection:
{
name: 'richText',
type: 'richText',
access: {
update: () => false,
},
},
Note that the richtext field isn't disabled in the UI.
Adapters and Plugins
db-postgres
This issue has been marked as stale due to lack of activity.
To keep this issue open, please indicate that it is still relevant in a comment below.
This issue was automatically closed due to lack of activity.
This is fixed - can no longer be reproduced as of 3.16.0
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.