[6.x]: Fields on a revision are shown as disabled instead of read-only
I maintainer di solito rispondono entro 1 giorno
@riasvdv ci sta già lavorando.
Dal 3/11/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- php
- Ambito
- accessibility, frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- PHP
- Stelle
- 3.6k
- Fork
- 712
- Merge medio
- 13h 20m
- PR unite (30g)
- 357
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di craftcms/cms
-
bug repo:cms
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
craftcms/cms#20205 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[6.x]: Element index View menu: sort direction buttons only update after the table has loadedApertabug repo:cms
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
craftcms/cms#20203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[5.x]: Moving an asset with “Replace it” throws TypeError: volumeUid must be of type string, null givenForse già presa @i-just l’ha presa 7 giorni fa. Apertabug repo:cms
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
craftcms/cms#20128 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
"New entry" menu ignores `Entry::EVENT_DEFINE_ENTRY_TYPES`, so a filtered type leads to a 400Apertarepo:cms
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
craftcms/cms#20322 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[5.x]: Passing `withProvisionalDrafts` on a Matrix field throws `array_intersect()` TypeErrorForse già presa @brandonkelly l’ha presa oggi. Apertabug repo:cms
craftcms/cms#20308 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di craftcms/cms
Issue simili
-
Issue: ready for confirmation Reported on 2.4.9 Triage: Dev.Experience
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
magento/magento2#41773 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
[BUG] Add bounds validation for numberOfContestants in TeamsGroup::apiCreate()Forse già presa @RAJJADHAV10 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
omegaup/omegaup#10512 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sorocharge/sorocharge-php#14 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
filesender/filesender#2898 ·
I maintainer di solito rispondono entro 1 giorno
-
cleanup
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno