gantry / gantry5

:rocket: Next Generation Template / Theme Framework

Home Page:http://gantry.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tonamphong opened this issue · comments

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.