|
@@ -294,6 +294,10 @@ sonata_type_boolean
|
|
|
The ``boolean`` type is a specialized ``ChoiceType`` where the choices list is
|
|
|
locked to 'yes' and 'no'.
|
|
|
|
|
|
+Note that for backward compatibility reasons, it will set your value to '1' for 'yes' and to '2' for 'no'.
|
|
|
+If you want to map to a boolean value, just set the option ``transform`` to true. For instance, you need
|
|
|
+to do so when mapping to a doctrine boolean.
|
|
|
+
|
|
|
|
|
|
sonata_type_translatable_choice
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|