[6.x]: Fields on a revision are shown as disabled instead of read-only
Maintainers usually reply within 1 day
@riasvdv is already working on this.
Since Nov 3, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- php
- Domain
- accessibility, frontend
Research direction
Start from the page payload that sets "mode": "readOnly" for a revision, then find where the field and input rendering turns that mode into a disabled attribute instead of readonly. The issue names no files, so trace the mode from the revisions panel to the field templates. Done means revision fields render with readonly and stay focusable, and the revision view matches the Field read-only story.
Written by the indexing model from the issue text.
Description
What happened?
Steps to reproduce
- Open an entry that has a few revisions.
- Open an older revision from the Revisions panel.
Expected behavior
The fields are shown read-only, like the read-only Field story in the UI Storybook (and like revisions in Craft 5): the values are easy to read, and can be focused, scrolled and selected.
Actual behavior
Every field is disabled. The values are dimmed (the title text renders at about 2.1:1 contrast against the white background), they can't be focused with the keyboard, and screen readers announce them as unavailable.
The page payload marks the controls as read-only ("mode": "readOnly"), but the rendered fields and inputs have disabled set and not readonly.
Craft CMS version
6.x-dev (craftcms/cms at 395aae2)
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 712
- Avg merge
- 13h 20m
- Merged PRs (30d)
- 357
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from craftcms/cms
-
bug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
craftcms/cms#20205 · 1 comment ·
Maintainers usually reply within 1 day
-
bug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
craftcms/cms#20203 · 1 comment ·
Maintainers usually reply within 1 day
-
[5.x]: Moving an asset with “Replace it” throws TypeError: volumeUid must be of type string, null givenPossibly taken @i-just claimed this 7 days ago. Openbug repo:cms
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
craftcms/cms#20128 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
repo:cms
Difficulty 3/5 1-2 days Newbie friendliness 55/100
craftcms/cms#20322 · 1 comment ·
Maintainers usually reply within 1 day
-
[5.x]: Passing `withProvisionalDrafts` on a Matrix field throws `array_intersect()` TypeErrorPossibly taken @brandonkelly claimed this today. Openbug repo:cms
craftcms/cms#20308 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
needs-triage Platform(Default)
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
ai-driven-fuzzing bug claude Major
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Issue: ready for confirmation Reported on 2.4.9 Triage: Dev.Experience
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
magento/magento2#41773 · 1 comment ·
Maintainers usually reply within 5 days
-
[BUG] Add bounds validation for numberOfContestants in TeamsGroup::apiCreate()Possibly taken @RAJJADHAV10 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
omegaup/omegaup#10512 · 1 comment ·
Maintainers usually reply within 5 days
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sorocharge/sorocharge-php#14 ·