Skip to content

Commit 37d87a0

Browse files
committed
minor #9014 add default option value for collection type (xabbuh)
This PR was merged into the 2.7 branch. Discussion ---------- add default option value for collection type Commits ------- 96f608a add default option value for collection type
2 parents 254f501 + 96f608a commit 37d87a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/collection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ not replaced with the same value.
357357
type
358358
~~~~
359359

360-
**type**: ``string`` or :class:`Symfony\\Component\\Form\\FormTypeInterface` **required**
360+
**type**: ``string`` or :class:`Symfony\\Component\\Form\\FormTypeInterface` **default**: ``text``
361361

362362
This is the field type for each item in this collection (e.g. ``text``,
363363
``choice``, etc). For example, if you have an array of email addresses,

0 commit comments

Comments
 (0)