File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -211,12 +211,13 @@ yet to add new tags or delete existing ones.
211211Allowing "new" Tags with the "Prototype"
212212----------------------------------------
213213
214- Previously we added two dummy tags to our task in the controller.
215- Now let the users add as many tag forms as they need directly in the browser.
216- This will be done through a bit of JavaScript.
214+ Previously you added two tags to your task in the controller. Now let the users
215+ add as many tag forms as they need directly in the browser. This requires a bit
216+ of JavaScript code .
217217
218- But first, we need to let the form collection know that instead of exactly two,
219- it will receive an *unknown * number of tags. This is done with the
218+ But first, you need to let the form collection know that instead of exactly two,
219+ it will receive an *unknown * number of tags. Otherwise, you'll see a
220+ *"This form should not contain extra fields" * error. This is done with the
220221``allow_add `` option::
221222
222223 // src/AppBundle/Form/TaskType.php
You can’t perform that action at this time.
0 commit comments