File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -783,10 +783,11 @@ option in the options field array::
783
783
784
784
->add('task', null, ['attr' => ['maxlength' => 4]])
785
785
786
- .. versionadded :: 4.3
786
+ .. seealso ::
787
787
788
- Starting from Symfony 4.3, :doc: `Doctrine </doctrine >` metadata is introspected
789
- to add :ref: `automatic validation constraints <automatic_object_validation >`.
788
+ Besides guessing the form type, Symfony also guesses `validation constraints <validating-forms >`_
789
+ if you're using a Doctrine entity. Read :ref: `automatic_object_validation `
790
+ guide for more information.
790
791
791
792
Unmapped Fields
792
793
~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -1939,7 +1939,7 @@ Whether or not to enable the ``translator`` service in the service container.
1939
1939
fallbacks
1940
1940
.........
1941
1941
1942
- **type **: ``string|array `` **default **: `` ['en'] ``
1942
+ **type **: ``string|array `` **default **: value of ` default_locale `_
1943
1943
1944
1944
This option is used when the translation key for the current locale wasn't
1945
1945
found.
Original file line number Diff line number Diff line change @@ -411,12 +411,6 @@ checks translation resources for several locales:
411
411
// ...
412
412
]);
413
413
414
- .. deprecated :: 4.4
415
-
416
- In Symfony versions before 4.4, the ``fallbacks `` option was initialized to
417
- ``en `` (English) when not configured explicitly. Starting from Symfony 4.4,
418
- this option is initialized to the same value as the ``default_locale `` option.
419
-
420
414
.. note ::
421
415
422
416
When Symfony can't find a translation in the given locale, it will
You can’t perform that action at this time.
0 commit comments