You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When saving a field layout (for any element type), card view config items will not save if an empty field layout (no tabs with fields) is submitted at the same time.
What happened?
Description
When saving a field layout (for any element type), card view config items will not save if an empty field layout (no tabs with fields) is submitted at the same time.
This is due to this line:
cms/src/models/FieldLayout.php
Line 589 in eff6671
Which is in the
getConfig()function of the field layout:cms/src/models/FieldLayout.php
Lines 582 to 599 in eff6671
Steps to reproduce
CleanShot.2025-01-30.at.13.53.37.mp4
Craft CMS version
5.x
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