Skip to content

Instantly share code, notes, and snippets.

@wouterj
Last active December 15, 2015 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wouterj/5246728 to your computer and use it in GitHub Desktop.
Save wouterj/5246728 to your computer and use it in GitHub Desktop.
Symfony2 form type tree

Legend

  • foo < bar means foo is a child of bar
  • - cat means an option cat
  • o baz means an overriden option baz
birthday < date
o years
button (2.3)
o auto_initialize
checkbox < form
- value
o empty_data (2.1)
o compound (2.1)
choice < form
- multiple
- expanded
- choice_list
- choices
- preferred_choices
- empty_data
- empty_value
o compound (2.1)
o error_bubbling
o by_reference
collection < form
- allow_add
- allow_delete
- prototype
- prototype_name (2.1)
- type
- options
country < choice
o choices
currency < choice (2.3)
o choices
csrf < hidden
- csrf_provider
- intention
o property_path
datetime < form
- input
- model_timezone (2.1)
- view_timezone (2.1)
X date_timezone (removed in 2.3)
X user_timezone (removed in 2.3)
- date_widget
- date_format
- time_widget
- widget
- format (2.1)
- empty_value
- years
- months
- days
- hours
- minutes
- seconds
- with_seconds
o by_reference
o error_bubbling
o data_class (2.1)
o compound (2.1)
date < form
- years
- months
- days
- widget
- input
- format
- model_timezone (2.1)
- view_timezone (2.1)
X date_timezone (removed in 2.3)
X user_timezone (removed in 2.3)
- empty_value
o pattern
o by_reference
o error_bubbling
o data_class (2.1)
o compound (2.1)
email < text
entity < choice
- em
- class
- property
- query_builder
o choices
o choice_list
field < form (removed in 2.3)
form
- block_name (2.1)
- data
- data_class
- empty_data (2.1)
- trim
- required
- read_only
- disabled (2.1)
- max_length
- pattern
- property_path
- mapped (2.1)
- by_reference
- error_bubbling
- label
- attr
- label_attr (2.1)
- compound (2.1)
- translation_domain (2.1)
- auto_initialize (2.3)
- inherit_data (2.3)
- method (2.3)
- action (2.3)
file < form
o compound (2.1)
o data_class (2.1)
o empty_data (2.1)
hidden < form
o required
o error_bubbling
o compound (2.1)
integer < form
- precision
- grouping
- rouding_mode
o compound (2.1)
language < choice
o choices
locale < choice
o choices
money < form
- precision
- grouping
- divisor
- currency
o compound (2.1)
number < form
- precision
- grouping
- rouding_mode
o compound (2.1)
password < text
- always_empty
o trim (2.2)
percent < form
- precision
- type
o compound (2.1)
radio < checkbox (changed in 2.1, was field)
reset < button (2.3)
repeated < form
- type
- options
- first_options (2.1)
- second_options (2.1)
- first_name
- second_name
o error_bubbling
search < text
submit < button
text < form
o compound (2.1)
textarea < text
time < form
- hours
- minutes
- seconds
- widget
- input
- with_seconds
- with_minutes (2.2)
- model_timezone
- view_timezone
X date_timezone (removed in 2.3)
X user_timezone (removed in 2.3)
- empty_value
o by_reference
o error_bubbling
o data_class (2.1)
o compound (2.1)
timezone < choice
o choices (changed in 2.1, was choice_list)
url < text
- default_protocol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment