Browse Source

Update field_types.rst

I thought that it would be good to mention here that all symfony 2 field types are accepted.
http://symfony.com/doc/current/reference/forms/types.html

textarea as example
Kirill 11 years ago
parent
commit
374234e11d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Resources/doc/reference/field_types.rst

+ 1 - 0
Resources/doc/reference/field_types.rst

@@ -11,6 +11,7 @@ There are many field types that can be used in the list action or show action :
 * **date**: display a formatted date. Accepts an optional ``format`` parameter
 * **datetime**: display a formatted date and time. Accepts an optional ``format`` parameter
 * **text**: display a text
+* **textarea**: display a textarea
 * **trans**: translate the value with a provided ``catalogue`` option
 * **string**: display a text
 * **decimal**: display a number