Aug 17, 20205:53 AM - edited Aug 17, 20206:34 AM
Participant | Diamond Partner
Default values for repeatable fields do not work
Morning, everyone,
I develop a custom module that is quite complex and flexible in its architecture using local development. It's a fairly basic module with an image on the left and an explanatory text on the right. The content on the right is composed of items that are in fact repeatable fields. For each "item" the content creator can select its type: it can be a title, a rich text, an image, a cta... Each of these types has its own default value.
I would like when dragging & dropping this module in the page to have a default display with a title first, a rich_text second and a cta third. However the content_format field that is used to choose the type of item does not work (the value is always null).
Here is the default value i would like when i drag & drop: