Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions reference/forms/types/collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ photos).
| | - `entry_options`_ |
| | - `entry_type`_ |
| | - `prototype`_ |
| | - `prototype_data`_ |
| | - `prototype_name`_ |
+-------------+-----------------------------------------------------------------------------+
| Inherited | - `by_reference`_ |
Expand Down Expand Up @@ -354,6 +355,14 @@ rendering your form, having the entire "form row" may be easier for you.
For details on how to actually use this option, see the above example as
well as :ref:`cookbook-form-collections-new-prototype`.

prototype_data
~~~~~~~~~~~~~~

**type**: ``mixed`` **default**: ``null``

Allows you to specify data for the prototype. Each new row added will initially
contain the data set by this option.

prototype_name
~~~~~~~~~~~~~~

Expand Down