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

INVALID FIELDS alert and particle's block size is not formatted correctly #3243

Open
tonamphong opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@tonamphong
Copy link

This issue related to the number of items you have with the particles that included the collection.list (Infolist from Studius theme)

I noticed the same report via #770 and 9587388

Steps:

  • Adding Infolist particle then add sample items, I added 64 items for testing (60 items working fine)

  • Save the particle

  • Reopen the particle and click Apply or Save -> You will get Invalid field warning and you're not able to save the modal.

  • Click the Block Tab you will notice that the Block Size value is EMPTY

block-size-1

  • I believe this is the issue related to the fields warning because if you hit the save button, a small red line appear that warn you about the block size is empty

block-size-3

  • It should be the Particle size value(the block size value is formatted automatically when you drag the particle into the section), example 100% in this case. You can add custom value like 100 and you can save the modal. However, if you reopen it again, the issue repeats.

So, it seems if you add more than 60 items, the particle block size is not formatted correctly, the block size is removed (empty) and you're not able to save the modal form. This issue caused with Infolist particle but it's working fine with Particle that included the collections.list like Content Cubes, Owl Carousel, Content Tabs and Social.

I think it happened with Infolist because this particle included many sub items via collection.list ? I found 17 sub items added via infolist yaml file.

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

No branches or pull requests

1 participant