[6.x]: Fields on a revision are shown as disabled instead of read-only
メンテナーはふだん 1 日以内に返信
@riasvdv がすでに取り組んでいます。
2026年11月3日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- php
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- PHP
- スター
- 3.6k
- フォーク
- 712
- 平均マージ
- 13時間 20分
- マージ済み PR(30日)
- 357
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
craftcms/cms のほかの issue
-
bug repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
craftcms/cms#20205 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
craftcms/cms#20203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[5.x]: Moving an asset with “Replace it” throws TypeError: volumeUid must be of type string, null given対応中かも @i-just が 6 日前に担当しました。 オープンbug repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
craftcms/cms#20128 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
repo:cms
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
craftcms/cms#20322 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[5.x]: Passing `withProvisionalDrafts` on a Matrix field throws `array_intersect()` TypeError対応中かも @brandonkelly が今日担当しました。 オープンbug repo:cms
craftcms/cms#20308 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
[Bug]: Detection::detectString() / detectContent() never use finfo – missing use finfo; (regression from #54077)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン0. Needs triage 35-feedback bug
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getgrav/grav-plugin-api#74 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
heroku/heroku-buildpack-php#1024 ·
メンテナーはふだん 1 日以内に返信