Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Can't Expand Newly Created Fieldset When Max Fieldsets 1 #363

Closed
Nicholas-Westby opened this issue May 17, 2016 · 4 comments
Closed

Can't Expand Newly Created Fieldset When Max Fieldsets 1 #363

Nicholas-Westby opened this issue May 17, 2016 · 4 comments

Comments

@Nicholas-Westby
Copy link
Contributor

Umbraco 7.4.3. Archetype 1.13.0. This GIF says it all (in the end, I am trying to click the fieldset label):

add-item

When I add a fieldset to an Archetype that is restricted to allow a maximum of one fieldset, I am unable to click the fieldset label to expand the fieldset until I save and navigate away and then come back to the content node.

@Nicholas-Westby
Copy link
Contributor Author

Hmm, will have to check my settings at work. Can't reproduce this at home.

@Nicholas-Westby
Copy link
Contributor Author

Aha, it seems to be when "Enable Collapsing" is unchecked. Here's a sample JSON config:

{
  "showAdvancedOptions":false,
  "startWithAddButton":true,
  "hideFieldsetToolbar":false,
  "enableMultipleFieldsets":true,
  "hideFieldsetControls":false,
  "hidePropertyLabel":false,
  "maxFieldsets":1,
  "enableCollapsing":true,
  "enableCloning":false,
  "enableDisabling":true,
  "enableDeepDatatypeRequests":false,
  "enablePublishing":false,
  "fieldsets":[
    {
      "alias":"richText",
      "remove":false,
      "collapse":true,
      "labelTemplate":"",
      "icon":"icon-notepad-alt",
      "label":"Rich Text",
      "properties":[
        {
          "alias":"content",
          "remove":false,
          "collapse":true,
          "label":"Content",
          "helpText":"",
          "dataTypeGuid":"ca90c950-0aff-4e72-b976-a30b1ac57dad",
          "value":"",
          "aliasIsDirty":true,
          "regEx":".{20}",
          "$$hashKey":"0Q4"
        }
      ],
      "group":null,
      "aliasIsDirty":true,
      "$$hashKey":"0PM"
    },
    {
      "alias":"aHeader",
      "remove":false,
      "collapse":true,
      "labelTemplate":"{{header}}",
      "icon":"",
      "label":"Header",
      "properties":[
        {
          "alias":"header",
          "remove":false,
          "collapse":true,
          "label":"Header",
          "helpText":"",
          "dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
          "value":"",
          "aliasIsDirty":true,
          "regEx":".{20}",
          "$$hashKey":"0QD"
        }
      ],
      "group":null,
      "aliasIsDirty":true,
      "$$hashKey":"0PN"
    }
  ],
  "fieldsetGroups":[

  ],
  "enableCrossDragging":true
}

Nicholas-Westby added a commit to Nicholas-Westby/Archetype that referenced this issue May 21, 2016
@Nicholas-Westby
Copy link
Contributor Author

Pull request here: #365

@kgiszewski
Copy link
Owner

Merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants