@@ -1087,7 +1087,7 @@ the ``#[LiveArg()]`` attribute::
10871087 }
10881088
10891089Normally, the argument name in PHP - e.g. ``$id `` - should match the
1090- argument named used in Twig ``id={{ item.id }} ``. But if they don't
1090+ argument name used in Twig ``id={{ item.id }} ``. But if they don't
10911091match, you can pass an argument to ``LiveArg ``, like we did with ``itemName ``.
10921092
10931093Actions and CSRF Protection
@@ -1153,7 +1153,7 @@ the component now extends ``AbstractController``! That is totally
11531153allowed, and gives you access to all of your normal controller
11541154shortcuts. We even added a flash message!
11551155
1156- .. _files
1156+ .. _files :
11571157
11581158Uploading files
11591159---------------
@@ -1172,7 +1172,7 @@ to handle the files and tell the component when the file should be sent:
11721172 <button data-action="live#action" data-action-name="files|my_action" />
11731173 </p>
11741174
1175- To send a file (or files) with an action use `files ` modifier.
1175+ To send a file (or files) with an action use `` files ` ` modifier.
11761176Without an argument it will send all pending files to your action.
11771177You can also specify a modifier parameter to choose which files should be upload.
11781178
@@ -1191,7 +1191,7 @@ You can also specify a modifier parameter to choose which files should be upload
11911191 <button data-action="live#action" data-action-name="files|myAction" />
11921192 </p>
11931193
1194- The files will be available in a regular `$request->files ` files bag::
1194+ The files will be available in a regular `` $request->files ` ` files bag::
11951195
11961196 // src/Components/FileUpload.php
11971197 namespace App\Components;
@@ -1219,8 +1219,8 @@ The files will be available in a regular `$request->files` files bag::
12191219.. tip ::
12201220
12211221 Remember that in order to send multiple files from a single input you
1222- need to specify `multiple ` attribute on HTML element and end `name `
1223- with `[] `.
1222+ need to specify `` multiple `` attribute on HTML element and end `` name ` `
1223+ with `` [] ` `.
12241224
12251225.. _forms :
12261226
0 commit comments