From 96f608ac42ab8ed77e37c150507418d3e13ffe04 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 8 Jan 2018 15:09:40 +0100 Subject: [PATCH] add default option value for collection type --- reference/forms/types/collection.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/collection.rst b/reference/forms/types/collection.rst index d189e3a4680..58692231f78 100644 --- a/reference/forms/types/collection.rst +++ b/reference/forms/types/collection.rst @@ -357,7 +357,7 @@ not replaced with the same value. type ~~~~ -**type**: ``string`` or :class:`Symfony\\Component\\Form\\FormTypeInterface` **required** +**type**: ``string`` or :class:`Symfony\\Component\\Form\\FormTypeInterface` **default**: ``text`` This is the field type for each item in this collection (e.g. ``text``, ``choice``, etc). For example, if you have an array of email addresses,