Skip to content

Commit 1a4a90e

Browse files
committed
minor #18322 [FormCollection] mention Symfony UX live collection (94noni)
This PR was submitted for the 6.2 branch but it was merged into the 5.4 branch instead. Discussion ---------- [FormCollection] mention Symfony UX live collection Commits ------- 6f74096 [FormCollection] mention Symfony UX live collection
2 parents ec8fc6b + 6f74096 commit 1a4a90e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

form/form_collections.rst

+5
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ Previously you added two tags to your task in the controller. Now let the users
213213
add as many tag forms as they need directly in the browser. This requires a bit
214214
of JavaScript code.
215215

216+
.. tip::
217+
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.
220+
216221
But first, you need to let the form collection know that instead of exactly two,
217222
it will receive an *unknown* number of tags. Otherwise, you'll see a
218223
*"This form should not contain extra fields"* error. This is done with the

0 commit comments

Comments
 (0)