Skip to content

Commit a1c167e

Browse files
Removing outdated jQuery note
Looks like this was just forgotten at symfony#15455 The other text I deleted merely repeated what has already been said above: > Now let the users add as many tag forms as they need directly in the browser.
1 parent 08889fb commit a1c167e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

form/form_collections.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,7 @@ On the rendered page, the result will look something like this:
280280
the ``data-prototype`` attribute is automatically added to the containing ``div``,
281281
and you need to adjust the following JavaScript accordingly.
282282

283-
Now add some JavaScript to read this attribute and dynamically add new tag forms
284-
when the user clicks the "Add a tag" link. This example uses `jQuery`_ and
285-
assumes you have it included somewhere on your page (e.g. using Symfony's
286-
:doc:`Webpack Encore </frontend>`).
287-
288-
Add a ``<script>`` tag somewhere on your page to include the required
289-
functionality with JavaScript:
283+
Now add the required functionality with JavaScript:
290284

291285
.. code-block:: javascript
292286
@@ -654,7 +648,6 @@ the relationship between the removed ``Tag`` and ``Task`` object.
654648
the `symfony-collection`_ package based on jQuery for the rest of browsers.
655649

656650
.. _`Owning Side and Inverse Side`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/unitofwork-associations.html
657-
.. _`jQuery`: http://jquery.com/
658651
.. _`JSFiddle`: https://jsfiddle.net/ey8ozh6n/
659652
.. _`@a2lix/symfony-collection`: https://github.com/a2lix/symfony-collection
660653
.. _`symfony-collection`: https://github.com/ninsuo/symfony-collection

0 commit comments

Comments
 (0)