Skip to content

Commit 81ae7bc

Browse files
authored
Clarify how CollectionType entries are indexed
Clarifying the indexing for `CollectionType`entries prevents further confusion about how to entries can be identified in the front end as well as when viewing the request data.
1 parent 8f2e5a6 commit 81ae7bc

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)