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 opened in a modal Richtext field becomes read-only (even when no access control is implemented).
It essentially happens when editing/creating a new item for a related collection in 'relationship' or 'upload' field.
This only happens to richText field, rest of the fields in model work fine.
Reproduction Steps
Start off with Blank Template:
Add a richtext field to the media collection.
Add a relationship field for media in users collection.
Notice the read-only richText when adding a new media from users collection in the modal.
Link to reproduction
(Only 2 steps needed from Blank Template)
Payload Version
Beta 91
Node Version
20 LTS
Next.js Version
Canary 104
Describe the Bug
When opened in a modal Richtext field becomes read-only (even when no access control is implemented). It essentially happens when editing/creating a new item for a related collection in 'relationship' or 'upload' field. This only happens to richText field, rest of the fields in model work fine.
Reproduction Steps
Start off with Blank Template:
Adapters and Plugins
No response