Skip to content

Commit 335a9a6

Browse files
Update form_customization.rst
Follow up of #13684 This is meant to be a caution box and a link to https://symfony.com/doc/4.4/form/bootstrap4.html#error-messages - if I didn't get it right, please fix it :-)
1 parent d991ca4 commit 335a9a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

form/form_customization.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ Renders any errors for the given field.
255255
{# render any "global" errors not associated to any form field #}
256256
{{ form_errors(form) }}
257257
258+
.. caution::
259+
260+
If you're using the Bootstrap 4 form theme, `form_errors()` is already included
261+
in `form_label()`, see ":ref:`reference-forms-bootstrap-error-messages`"
262+
258263
.. _reference-forms-twig-widget:
259264

260265
form_widget(form_view, variables)

0 commit comments

Comments
 (0)