@@ -77,8 +77,8 @@ of checkboxes depending on the ``expanded`` option::
77
77
'multiple' => true,
78
78
));
79
79
80
- If you rely on your option value attribute (e.g. for JavaScript) you need to
81
- set ``choice_value ``, otherwise the option values will be mapped to integer
80
+ If you rely on your option value attribute (e.g. for JavaScript) you need
81
+ to set ``choice_value ``, otherwise the option values will be mapped to integer
82
82
values::
83
83
84
84
$builder->add('availability', 'choice', array(
@@ -94,8 +94,8 @@ values::
94
94
'multiple' => true,
95
95
));
96
96
97
- You can also use the ``choice_loader `` option, which can be used to load the
98
- list only partially in cases where a fully-loaded list is not necessary.
97
+ You can also use the ``choice_loader `` option, which can be used to load
98
+ the list only partially in cases where a fully-loaded list is not necessary.
99
99
100
100
.. _forms-reference-choice-tags :
101
101
@@ -130,12 +130,14 @@ choices_as_values
130
130
131
131
.. versionadded :: 2.7
132
132
133
- The ``choices_as_values `` option of ChoiceType was introduced in Symfony 2.7.
133
+ The ``choices_as_values `` option of ChoiceType was introduced in Symfony
134
+ 2.7.
134
135
135
- The ``choices_as_values `` option was introduced to ensure backward compatibility with the
136
- modified handling of the ``choices `` optio. Being set to ``false `` the choices array
137
- will be read as values mapping the keys. Setting the option to ``true `` will enable the new
138
- handling of the choices mapping keys to values.
136
+ The ``choices_as_values `` option was introduced to ensure backward compatibility
137
+ with the modified handling of the ``choices `` optio. Being set to ``false ``
138
+ the choices array will be read as values mapping the keys. Setting the option
139
+ to ``true `` will enable the new handling of the choices mapping keys to
140
+ values.
139
141
140
142
* Before 2.7::
141
143
@@ -159,9 +161,9 @@ handling of the choices mapping keys to values.
159
161
160
162
.. caution ::
161
163
162
- The ``choices_as_values `` option will be removed in Symfony 3.0, where
163
- the choices will be passed in the values of the ``choices `` option by
164
- default.
164
+ The ``choices_as_values `` option will be removed in Symfony 3.0,
165
+ where the choices will be passed in the values of the ``choices ``
166
+ option by default.
165
167
166
168
choice_list
167
169
~~~~~~~~~~~
@@ -210,10 +212,11 @@ choice_loader
210
212
211
213
.. versionadded :: 2.7
212
214
213
- The ``choice_loader `` option of ChoiceType was introduced in Symfony 2.7.
215
+ The ``choice_loader `` option of ChoiceType was introduced in Symfony
216
+ 2.7.
214
217
215
- The choice loader can be used to load the list only partially in cases where a
216
- fully-loaded list is not necessary.
218
+ The choice loader can be used to load the list only partially in cases where
219
+ a fully-loaded list is not necessary.
217
220
218
221
**type **: :class: `Symfony\\ Component\\ Form\\ ChoiceList\\ Loader\\ ChoiceLoaderInterface `
219
222
0 commit comments