File tree 1 file changed +6
-5
lines changed
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.
211
211
Allowing "new" Tags with the "Prototype"
212
212
----------------------------------------
213
213
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 .
217
217
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
220
221
``allow_add `` option::
221
222
222
223
// src/AppBundle/Form/TaskType.php
You can’t perform that action at this time.
0 commit comments