Skip to content

Commit 96f608a

Browse files
committed
add default option value for collection type
1 parent 254f501 commit 96f608a

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)