My application uses several collapsible fields. For most of these, I have the initCollapsed property set to true, as follows:
label: 'Field Label',
type: 'collapsible',
admin: {
initCollapsed: true
},
fields: [<field_defs_here>]
Some of these fields are rendered as collapsed when the page is loaded, but some are not, and instead are expanded. Why the inconsistent behavior?
I have attached the file that is causing me problems. Can someone please tell me what I am doing wrong?