Skip to content

Commit 7f6a8e2

Browse files
committed
Tweaks
1 parent 1a4a90e commit 7f6a8e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

form/form_collections.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ of JavaScript code.
215215

216216
.. tip::
217217

218-
You can leverage Symfony UX via https://ux.symfony.com/live-component/demos/form-collection-type
219-
if you do not want to handle the JavaScript code yourself.
218+
Instead of writing the needed JavaScript code yourself, you can use Symfony
219+
UX to implement this feature with only PHP and Twig code. See the
220+
`Symfony UX Demo of Form Collections`_.
220221

221222
But first, you need to let the form collection know that instead of exactly two,
222223
it will receive an *unknown* number of tags. Otherwise, you'll see a
@@ -662,3 +663,4 @@ the relationship between the removed ``Tag`` and ``Task`` object.
662663
.. _`@a2lix/symfony-collection`: https://github.com/a2lix/symfony-collection
663664
.. _`symfony-collection`: https://github.com/ninsuo/symfony-collection
664665
.. _`ArrayCollection`: https://www.doctrine-project.org/projects/doctrine-collections/en/1.6/index.html
666+
.. _`Symfony UX Demo of Form Collections`: https://ux.symfony.com/live-component/demos/form-collection-type

0 commit comments

Comments
 (0)