Colspan property missing sometimes and other odd behavior | Community
Skip to main content
May 21, 2018
Solved

Colspan property missing sometimes and other odd behavior

  • May 21, 2018
  • 2 replies
  • 2576 views

In AEM 6.2 been using Colspan property to make forms easier to read.

However, I am trying to create a new form, and I thought I was following my previous steps but when I try to configure the properties, Colspan is missing from the properties list if I am in a panel. The only time the Colspan property is available is if the field is directly under guideRootPanel.

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by baronforo

I think we found the problem...

If we drag a child panel component from the side bar into the form and set it up with columns, then direct child fields/panels will have the Colspan property.

However, if we try to use "Add Child Panel" from a panel's edit toolbar (ellipsis, then "Add Child Panel"), direct child fields/panels will not have the Colspan property.

-->

So we apparently have two ways of doing the same thing that have different results. I am opening a bug ticket with Adobe.

2 replies

sudhansh
Adobe Employee
Adobe Employee
May 30, 2018

Colspan property is available for the fields / panels which are a direct child of a panel with responsive layout. You can add a wrapper responsive panel to achieve the desired behavior.

baronforoAuthorAccepted solution
May 30, 2018

I think we found the problem...

If we drag a child panel component from the side bar into the form and set it up with columns, then direct child fields/panels will have the Colspan property.

However, if we try to use "Add Child Panel" from a panel's edit toolbar (ellipsis, then "Add Child Panel"), direct child fields/panels will not have the Colspan property.

-->

So we apparently have two ways of doing the same thing that have different results. I am opening a bug ticket with Adobe.