Add object type field #15626
-
|
This is an idea coming from Sanity. In Sanity, they have an object type schema that allows you to nest other schema types/fields within it. You can optionally collapse the object field too. This helps keep things organized as well as frees up handle names. In a way, it's kind of similar to matrix fields, except you're not adding nested entries. Just nested fields. Possible UI idea: We're currently handling this by naming things like |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Thanks for the suggestion! This is basically the same idea as #14600 – something we’re starting to think through 😉 |
Beta Was this translation helpful? Give feedback.
-
|
What if we could define reusable Field Group Types, similar to Entry Types? You’d create one group — e.g. «SEO Fields» with Title, Description, Image, Robots — and reuse it across entry types or matrix blocks. Same for common setups like «Hero Section» or «Date Range». This would avoid repeating the same set of fields over and over, improve maintainability, and keep things consistent across the project. Think of it as modular field modeling: define once, reuse anywhere. |
Beta Was this translation helpful? Give feedback.
-
|
Craft 5.8 is out, which introduces a new “Content Block” field type, which can be used to create reusable nested field layouts. (#17424) |
Beta Was this translation helpful? Give feedback.



Craft 5.8 is out, which introduces a new “Content Block” field type, which can be used to create reusable nested field layouts. (#17424)