File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ needed if you're using AssetMapper):
33
33
Usage in a Form (without Ajax)
34
34
------------------------------
35
35
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:
38
39
39
40
.. code-block :: diff
40
41
@@ -747,3 +748,4 @@ the Symfony framework: https://symfony.com/doc/current/contributing/code/bc.html
747
748
.. _`controller.ts` : https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/src/controller.ts
748
749
.. _`Tom Select Render Templates` : https://tom-select.js.org/docs/#render-templates
749
750
.. _`Tom Select Option Group` : https://tom-select.js.org/examples/optgroups/
751
+ .. _`Symfony Form` : https://symfony.com/doc/current/forms.html
You can’t perform that action at this time.
0 commit comments