Skip to content

craft/fields/Matrix::validateEntries use new:X index as fallback if uid is empty to index new entries individually #15103

Closed Answered by brandonkelly
Anubarak asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for pointing that out. That’s actually a bug, as for blocks with multiple errors, it would just be impossible to know how they’re grouped (at least without looking at the errors on each nested entry).

I’ve just fixed that for the next release. Going with the format newX instead of new:X, to be consistent with Matrix::serializeValue(). (95205c2)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@brandonkelly
Comment options

@Anubarak
Comment options

@brandonkelly
Comment options

@Anubarak
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants