Skip to content

Commit a55f193

Browse files
MrYamousjaviereguiluz
authored andcommitted
[AutoComplete] Note form requirements
1 parent 64112c5 commit a55f193

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Autocomplete/doc/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ needed if you're using AssetMapper):
3333
Usage in a Form (without Ajax)
3434
------------------------------
3535

36-
Any ``ChoiceType`` or ``EntityType`` can be transformed into a
37-
Tom Select-powered UI control by adding the ``autocomplete`` option:
36+
If you're using `Symfony Form`_ any ``ChoiceType`` or ``EntityType`` can be
37+
transformed into a Tom Select-powered UI control by adding the ``autocomplete``
38+
option:
3839

3940
.. code-block:: diff
4041
@@ -747,3 +748,4 @@ the Symfony framework: https://symfony.com/doc/current/contributing/code/bc.html
747748
.. _`controller.ts`: https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/src/controller.ts
748749
.. _`Tom Select Render Templates`: https://tom-select.js.org/docs/#render-templates
749750
.. _`Tom Select Option Group`: https://tom-select.js.org/examples/optgroups/
751+
.. _`Symfony Form`: https://symfony.com/doc/current/forms.html

0 commit comments

Comments
 (0)