Skip to content

Commit 407e5ed

Browse files
committed
minor #17480 Clarify how CollectionType entries are indexed (renepupil)
This PR was merged into the 5.4 branch. Discussion ---------- Clarify how `CollectionType` entries are indexed Clarifying the indexing for `CollectionType` entries prevents further confusion about how entries can be identified in the front end as well as when viewing the request data. Commits ------- 81ae7bc Clarify how `CollectionType` entries are indexed
2 parents 9dff4a8 + 81ae7bc commit 407e5ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/forms/types/collection.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ forms, which is useful when creating forms that expose one-to-many
1111
relationships (e.g. a product from where you can manage many related product
1212
photos).
1313

14+
When rendered, existing collection entries are indexed by the keys of the array that is passed as the collection type field data.
15+
1416
+---------------------------+--------------------------------------------------------------------------+
1517
| Rendered as | depends on the `entry_type`_ option |
1618
+---------------------------+--------------------------------------------------------------------------+

0 commit comments

Comments
 (0)