Skip to content

Commit e84a31b

Browse files
committed
minor #376 Fix syntax, missing closing }} (maartendekeizer)
This PR was merged into the 2.x branch. Discussion ---------- Fix syntax, missing closing `}}` | Q | A | ------------- | --- | Bug fix? | yes in docs | New feature? | no | Tickets | n/a | License | MIT Tried to copy paste the example, but did't work because of missing closing `}}`. I also suggests to including the closing `</select>` tag. Commits ------- 723fe97 Fix syntax, missing closing `}}` and `)`
2 parents 2985200 + 723fe97 commit e84a31b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Autocomplete/src/Resources/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ outside of the Form component. For example:
447447
448448
<select
449449
name="food"
450-
{{ stimulus_controller('symfony/ux-autocomplete/autocomplete')
450+
{{ stimulus_controller('symfony/ux-autocomplete/autocomplete') }}
451451
>
452452
453453
That's it! If you want the options to be autocompleted via
@@ -460,7 +460,7 @@ a :ref:`custom autocompleter <custom-autocompleter>`:
460460
name="food"
461461
{{ stimulus_controller('symfony/ux-autocomplete/autocomplete', {
462462
url: path('ux_entity_autocomplete', { alias: 'food' })
463-
})
463+
}) }}
464464
>
465465
466466
.. _custom-autocomplete-endpoint:

0 commit comments

Comments
 (0)