Skip to content

Commit 4d220b7

Browse files
committed
minor #2295 [AutoComplete] Note form requirements (MrYamous)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [AutoComplete] Note form requirements | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | Fix #2252 | License | MIT Commits ------- a55f193 [AutoComplete] Note form requirements
2 parents 1e01865 + a55f193 commit 4d220b7

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
@@ -753,3 +754,4 @@ the Symfony framework: https://symfony.com/doc/current/contributing/code/bc.html
753754
.. _`controller.ts`: https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/src/controller.ts
754755
.. _`Tom Select Render Templates`: https://tom-select.js.org/docs/#render-templates
755756
.. _`Tom Select Option Group`: https://tom-select.js.org/examples/optgroups/
757+
.. _`Symfony Form`: https://symfony.com/doc/current/forms.html

0 commit comments

Comments
 (0)