Repository navigation
Replies: 1 comment
|
Converted this to a discussion, as this is currently working as expected. “No color” means the field has no value, and cards always omit empty fields in their previews. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
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
All reactions