payloadcms / payloadcms/payload
Autosave overwrites changes in link modal
Open
@AlessioGr is already working on this.
Since Jun 19, 2026.
Bug
status: verified
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Describe the Bug
When using autosave interval, the autosaving overwrites link type in rich text link modal with old value.
https://github.com/user-attachments/assets/f6bfe107-601e-456e-b2b7-9c8b86e39bba
Link to the code that reproduces this issue
https://github.com/stinesandberg/payload-reproduction-autosave-issue
Reproduction Steps
- Write some text in the rich text field
- Click the button to add a link to some of the text
- When the modal opens, switch the link type to "Internal URL" and wait until the autosave kicks in
- The UI reverts back to "Custom URL"
Which area(s) are affected?
Not sure
Environment Info
Binaries:
Node: 24.13.0
npm: 11.6.2
Yarn: 1.22.22
pnpm: 10.27.0
Relevant Packages:
payload: 3.77.0
@payloadcms/payload-cloud: 3.77.0
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 25.3.0: Wed Jan 28 20:54:22 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T6030
Available memory (MB): 36864
Available CPU cores: 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.