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::
783783
784784 ->add('task', null, ['attr' => ['maxlength' => 4]])
785785
786- .. versionadded :: 4.3
786+ .. seealso ::
787787
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.
790791
791792Unmapped Fields
792793~~~~~~~~~~~~~~~
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.
19391939fallbacks
19401940.........
19411941
1942- **type **: ``string|array `` **default **: `` ['en'] ``
1942+ **type **: ``string|array `` **default **: value of ` default_locale `_
19431943
19441944This option is used when the translation key for the current locale wasn't
19451945found.
Original file line number Diff line number Diff line change @@ -411,12 +411,6 @@ checks translation resources for several locales:
411411 // ...
412412 ]);
413413
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-
420414 .. note ::
421415
422416 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