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 inline max 1, min 1 not loaded if is not on the current loaded tab #16331

Closed
stephanedemotte opened this issue Dec 13, 2024 · 8 comments
Labels

Comments

@stephanedemotte
Copy link

stephanedemotte commented Dec 13, 2024

Description

Matrix inline max 1, min 1 not loaded if is not on the current loaded tab

Steps to reproduce

Create a matrix with inline view mode inline, max 1, min 1, put it in a tab (not the first one)

Expected behavior

Field must load even is not on the current tab

Actual behavior

The field doesn't load, when we save, we have an error and we have to create it "manually"

Screen.Recording.2024-12-13.at.1.48.05.PM.mov

Craft CMS version

5.5.6.1

PHP version

8.2

Operating system and version

Mac

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@stephanedemotte stephanedemotte changed the title [5.x]: Matrix inline max 1, min 1 not load loaded if is in tab [5.x]: Matrix inline max 1, min 1 not loaded if is not on the current loaded tab Dec 13, 2024
@brandonkelly
Copy link
Member

Just tested this locally and it’s working as expected:

CleanShot.2024-12-14.at.06.28.25.mp4

Are you getting any JavaScript errors on the page?

@stephanedemotte
Copy link
Author

stephanedemotte commented Dec 14, 2024

Yes and you're right it's not happening every time, sometimes the matrix load correctly, but sometimes i've got this.

Screen.Recording.2024-12-14.at.10.19.09.AM.mov

@brandonkelly
Copy link
Member

Can you click on that first one (matrix/create-entry) and post the Response details?

@stephanedemotte
Copy link
Author

Image

@brandonkelly
Copy link
Member

Any chance you can send me a database backup and your Composer files? support@craftcms.com

@stephanedemotte
Copy link
Author

@brandonkelly done

@brandonkelly
Copy link
Member

Fixed for the next release!

@brandonkelly
Copy link
Member

Craft 5.5.8 is out with that fix. Thanks for all the help!

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