Skip to content
This repository has been archived by the owner on Jul 10, 2018. It is now read-only.

Nested Matrix in SuperTable has hidden fields. #40

Open
joshangell opened this issue Apr 6, 2016 · 5 comments
Open

Nested Matrix in SuperTable has hidden fields. #40

joshangell opened this issue Apr 6, 2016 · 5 comments

Comments

@joshangell
Copy link
Member

When there is a block-specific field layout that contains a SuperTable / Matrix combo the fields of the nested Matrix are hidden.

@aladrach
Copy link

aladrach commented Apr 6, 2016

Thanks for opening this. I've temporarily worked around this with a bit of CSS.

@roberttolton
Copy link

@aladrach What was the CSS fix you applied?

@roberttolton
Copy link

Removing field layouts for all parent and child block types in a Matrix > SuperTable > Matrix setup removes the issue of the second nested Matrix blocks being hidden by default when editing an entry.

Below is a screenshot of an affected page:

screen shot 2016-05-26 at 11 41 07

Below is a screenshot once all field layouts are removed:

screen shot 2016-05-26 at 11 58 03

(page is continued off the bottom of the screenshot)

Obviously this isn't desired behaviour, as you loose all the benefits of Pimp My Matrix.

@aladrach
Copy link

@fuelintegrated I'm using the following to override the style and fix the layout:

.matrixblock .fields {
    display: block !important;
}
.matrixblock.collapsed .fields {
    display: none !important;
}

@roberttolton
Copy link

@aladrach Thanks for the CSS

If anyone is interested, I managed to recreate the setup I wanted, without any UI bugs using the Neo field type for the outermost field, and Pimp My Matrix for the innermost 'blocks' in this screenshot:

image 2016-05-26 at 2 51 03 pm

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

No branches or pull requests

3 participants