8000 Update bootstrap5.rst · pableu/symfony-docs@3a0dc3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a0dc3c

Browse files
authored
Update bootstrap5.rst
Apply input-group class to a TextType field instead of a CheckboxType field
1 parent 6454669 commit 3a0dc3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/bootstrap5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class to the ``row_attr`` option.
187187

188188
.. code-block:: php
189189
190-
$builder->add('email', CheckboxType::class, [
190+
$builder->add('email', TextType::class, [
191191
'label' => '@',
192192
'row_attr' => [
193193
'class' => 'input-group',

0 commit comments

Comments
 (0)
0