Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: Matrix fields set to display as cards but not in a grid will display in a grid when initially populated #14840

Closed
amphibian opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels

Comments

@amphibian
Copy link

What happened?

Description

When creating a Matrix field set to display in card view, but stacked (not in a grid), the initial entry creation inside of that field will nonetheless display the newly-added entries in a grid. After saving, the cards will display correctly (stacked).

Steps to reproduce

  1. Create a Matrix field, with its view set to cards (but not grid).
  2. Assign that field to an Entry Type and create a new entry with that Entry Type, then add some new entries to the new Matrix field inside that entry.

Expected behavior

The entries added to the Matrix field display as stacked cards.

Actual behavior

The entries added to the Matrix field display in a grid.

Craft CMS version

5.0.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@amphibian amphibian added the bug label Apr 22, 2024
@brandonkelly brandonkelly self-assigned this Apr 22, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 5.0.5 is out with that fix. Thanks again!

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

No branches or pull requests

2 participants