Skip to content

Commit fce5882

Browse files
committedFeb 6, 2025·
minor #6797 docs: fixes typos in fields.rst (Bisb)
This PR was merged into the 4.x branch. Discussion ---------- docs: fixes typos in fields.rst Noticed few typos in fields.rst 😉 Commits ------- 1945424 docs: fixes some typo in fields.rst
2 parents 5e48501 + 1945424 commit fce5882

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎doc/fields.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ The arguments of the ``addTab()`` method are:
298298
``null`` or an empty string, no text will be displayed (make sure to show an
299299
icon for the tab or users won't be able to click on it); You can also pass
300300
``string`` and ``TranslatableInterface`` variables. In both cases, if they
301-
contain HTML tags they will be rendered in stead of escaped;
301+
contain HTML tags they will be rendered instead of escaped;
302302
* ``$icon``: (type: ``?string``) the full CSS class of a `FontAwesome icon`_
303303
(e.g. ``far fa-folder-open``); if you don't display a text label for the tab,
304304
make sure to display an icon or users won't be able to click on the tab.
@@ -392,7 +392,7 @@ The arguments of the ``addColumn()`` method are:
392392
transformed to ``col-8``);
393393
* ``$label``: (type: ``TranslatableInterface|string|false|null``) an optional title
394394
that is displayed at the top of the column. If you pass ``false``, ``null``
395-
or an empy string, no title is displayed. You can also pass ``string`` and
395+
or an empty string, no title is displayed. You can also pass ``string`` and
396396
``TranslatableInterface`` variables. In both cases, if they contain HTML tags
397397
they will be rendered in stead of escaped;
398398
* ``$icon``: (type: ``?string``) the full CSS class of a `FontAwesome icon`_
@@ -538,7 +538,7 @@ The arguments of the ``addFieldset()`` method are:
538538

539539
* ``$label``: (type: ``TranslatableInterface|string|false|null``) an optional title
540540
that is displayed at the top of the fieldset. If you pass ``false``, ``null``
541-
or an empy string, no title is displayed. You can also pass ``string`` and
541+
or an empty string, no title is displayed. You can also pass ``string`` and
542542
``TranslatableInterface`` variables. In both cases, if they contain HTML tags
543543
they will be rendered in stead of escaped;
544544
* ``$icon``: (type: ``?string``) the full CSS class of a `FontAwesome icon`_
@@ -821,7 +821,7 @@ take many different values:
821821
automatically based on the field name (e.g. 'firstName' -> 'First Name');
822822
* **null**: EasyAdmin generates the label automatically based on the field name
823823
(e.g. 'firstName' -> 'First Name');
824-
* **An empty string**: the field doesn't display any label, but and empty
824+
* **An empty string**: the field doesn't display any label, but an empty
825825
``<label>`` element is rendered to not mess with the form layout;
826826
* **false**: the field doesn't display any label and no ``<label>`` element is
827827
rendered either. This is useful to display special full-width fields such as

0 commit comments

Comments
 (0)
Please sign in to comment.