#`initCollapsed` not working on some collapsible fields

3 messages · Page 1 of 1 (latest)

humble raft
#

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?

wanton spearBOT
sterile condor
#

Found this searching for the same problem. Does anyone have any ideas? Thanks