[5.x]: No Color option not appear as card attribute in Matrix View Mode Card
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 63/100
Direzione di ricerca
Start by tracing how Matrix card attributes render a Color field when it has no selected value, then compare that path with the rendering of a populated Color field. The report identifies Card Attributes and the native “No Color” state, but names no source files or tests. Done means the card shows an attribute or empty state for an unset Color field.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
Description
When using the Card layout for a Matrix field, if an entry includes a Color field that is left unset (defaulting to the native "No Color" option), this state cannot be displayed as a Card Attribute.
Because the "No Color" option cannot be manually removed or replicated as a custom value, there is currently no way to let content editors see at a glance on the card preview that the color has been left empty/unset.
Steps to reproduce
- Create a Color field. Leave it optional so the native "No Color" option acts as the default.
- Create an entry type used inside a Matrix field, and add this Color field to it.
- Under Card Attributes, choose to display the Color field.
- In the Matrix field's field settings, change the view mode to Cards.
- Create an entry, leave the Color field as "No Color", and save.
Expected behavior
The card preview in the Matrix field should display an attribute indicator showing that "No Color" (or an empty state indicator) is selected.
Actual behavior
The attribute does not appear on the card at all when "No Color" is selected, making it look as though the field doesn't exist or isn't being tracked on the card layout.
Craft CMS version
5.11.3 && 5.12.0.1
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
- 12h 44m
- PR unite (30g)
- 381
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 8 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
-
bug repo:cms
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
craftcms/cms#20386 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
repo:cms
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
craftcms/cms#20385 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di craftcms/cms
Issue simili
-
jira-created
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
-
No Code Attached Yet
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
joomla/joomla-cms#48786 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Icinga/icingaweb2-module-director#3188 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
mollie/WooCommerce#1327 ·
-
bug ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
hashtopolis/server#2614 ·
I maintainer di solito rispondono entro 1 giorno