payloadcms / payloadcms/payload

Bug: Compare Versions not working for tabs

Open
#14,937 0 comments 0 reactions 1 assignee View on GitHub

@paulpopus is already working on this.

Since Jan 5, 2026.

Bug
Dominant language
TypeScript
Stars
44.8k
Forks
4.2k
Avg merge
2d 21h
Merged PRs (30d)
53

Description

Describe the Bug.

The "Compare versions" UI are not showing the fields in a document with tabs. Look at how the diff tool shows the information about changed fields in collapsed mode, but when expanded, all lines are empty. Below is also proof of the two versions in the DB.

Image Image Image Image
Reproduction Steps

Add a collection with tabs. In a tab, add simple text fields.

Save a text fields. Go to versions. Try to compare.

Environment Info
Binaries:
  Node: 22.16.0
  npm: 10.9.2
  Yarn: N/A
  pnpm: 9.10.0
Relevant Packages:
  payload: 3.68.5
  next: 15.5.9
  @payloadcms/db-mongodb: 3.68.5
  @payloadcms/email-nodemailer: 3.68.5
  @payloadcms/graphql: 3.68.5
  @payloadcms/live-preview: 3.68.5
  @payloadcms/live-preview-react: 3.68.5
  @payloadcms/next/utilities: 3.68.5
  @payloadcms/payload-cloud: 3.68.5
  @payloadcms/plugin-redirects: 3.68.5
  @payloadcms/plugin-seo: 3.68.5
  @payloadcms/richtext-lexical: 3.68.5
  @payloadcms/translations: 3.68.5
  @payloadcms/ui/shared: 3.68.5
  react: 19.2.3
  react-dom: 19.2.3
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.6.0: Mon Jul 14 11:29:54 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T8122
  Available memory (MB): 16384
  Available CPU cores: 8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.