Don't include conditionally hidden fields in element cards #19064
-
|
If a custom field is added to a field layout's Card Attributes, it will always be rendered in element cards even when the field is conditionally hidden for the card's element. It'd be great if that didn't happen :) Use case: I have a nested entry type that I use in multiple different CKEditor and Matrix fields. The entry type includes a Lightswitch field that isn't relevant for certain fields, so I created a conditional in the entry type, to hide the field for nested entries belonging to those fields. Problem is, since this is a Lightswitch field, Craft still renders the default value in the card. Not the biggest issue in the world, but a little disorienting for authors since they can't actually change this field, for these entries. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Thanks for pointing that out! Fixed for the next release (9630063). |
Beta Was this translation helpful? Give feedback.
Thanks for pointing that out! Fixed for the next release (9630063).