You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When saving an entry with field
Body (neo)
-> Cards Limit 2 (matrix)
-> Cards A (matrix set maximum 2)
-> Cards Limit 3 (matrix)
-> Cards B (matrix set maximum 3)
If "Cards A" and "Cards B" have the same handle e.g. cards.
They then share a same javascript validation, and can't be saving correctly.
Maybe not relavant, but when Cards A, Cards B matrix itself contains conditional fields. Then the save will be successful, but the matrix
Can't reproduce it with just matrix View Mode "As inline-editable blocks"
Steps to reproduce
Spin up a new craft 5, copy in project config, composer.json, install database and log into CP.
Create a new entry.
In Neo field, add Article, then add Cards limit 2 with 2 child matrix cards
Then In Neo field, and Article, then add Cards limit 3 with 3 child matrix cards
And save
Her is a project config, hopefully you can use to spin up a new craft and reproduce it. project.zip composer.json
Expected behaviour
You will see that all cards in Cards Limit 3 will be removed and entry warn you with validation error.
Neo version
5.4.3
Craft CMS version
5.7.7 or 5.7.6
What is the affected Neo field's propagation method?
No response
Does this issue involve templating, and if so, is eager-loading used?
This is not a templating issue
The text was updated successfully, but these errors were encountered:
Thanks for reporting that, and for providing the files! Fixed now for the next release. In the meantime, you can get the fix by setting your composer.json file's spicyweb/craft-neo requirement to 5.x-dev as 5.4.3 and running composer update.
Bug Description
When saving an entry with field
Body (neo)
-> Cards Limit 2 (matrix)
-> Cards A (matrix set maximum 2)
-> Cards Limit 3 (matrix)
-> Cards B (matrix set maximum 3)
If "Cards A" and "Cards B" have the same handle e.g. cards.
They then share a same javascript validation, and can't be saving correctly.
Maybe not relavant, but when Cards A, Cards B matrix itself contains conditional fields. Then the save will be successful, but the matrix
Can't reproduce it with just matrix View Mode "As inline-editable blocks"
Steps to reproduce
Her is a project config, hopefully you can use to spin up a new craft and reproduce it.
project.zip
composer.json
Expected behaviour
You will see that all cards in Cards Limit 3 will be removed and entry warn you with validation error.
Neo version
5.4.3
Craft CMS version
5.7.7 or 5.7.6
What is the affected Neo field's propagation method?
No response
Does this issue involve templating, and if so, is eager-loading used?
This is not a templating issue
The text was updated successfully, but these errors were encountered: