symfony/ux-autocomplete
JavaScript Autocomplete functionality for Symfony
v3.4.0
6.5M downloads/mo
#1274 most downloaded on Packagist
symfony/ux-autocomplete
What this package is like to depend on
Last release 27 days ago
27 Jul 2026
Ships fairly regularly
a new release about every 5 weeks
Some releases are documented
notes for 29 of 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
60 releases · first in 2022
12 releases in the last 12 months
see the full history below
Release timeline
57 releases · Jun 2022 to Jul 2026Releases
latest 60-
v3.4.027 Jul 2026 -
v3.3.009 Jul 2026Release notes
Open source →Changelog (v3.2.0...v3.3.0)
- bug #3685 Fix LIKE ESCAPE clause breaking search on PostgreSQL (@Amoifr)
-
v3.2.005 Jun 2026 -
v3.1.029 May 2026Release notes
Open source →Changelog (v3.0.0...v3.1.0)
- security #cve-2026-49216 Fix XSS via unescaped AJAX response data (@Kocal)
- security #cve-2026-49211 Escape LIKE wildcards in the search query (@Amoifr)
- bug #3565 Use
hash_equals()to compare theextra_optionschecksum (@Amoifr)
-
v3.0.009 Apr 2026Release notes
Open source →Changelog (v2.34.0...v3.0.0)
- feature #3453 Update minimum required Symfony version to 7.4 (@Kocal)
- feature #3450 Upgrade minimum required PHP version to 8.4 (@Kocal)
- feature #3422 Add option
clear_on_focus(@zairigimad) - feature #3186 Remove BC layers for methods and parameters (@Kocal)
- bug #3187 Add phpunit.dist.xml in .gitattributes (@Kocal)
- bug #3182 Drop Symfony PHPUnit Bridge in favor of PHPUnit >= 11.0 (@Kocal)
- feature #3103 Remove deprecated code for 3.0 (@smnandre)
- feature #2998 Upgrade minimum required PHP version to 8.2 (@Kocal)
- feature #2996 Update minimum required Symfony version to ^6.4 (@Kocal)
-
v2.36.208 Jul 2026Release notes
Open source →Changelog (v2.36.1...v2.36.2)
- bug #3685 Fix LIKE ESCAPE clause breaking search on PostgreSQL (@Amoifr)
Release notes
Open source →- Fix the autocomplete search query throwing an exception on PostgreSQL because of
the
ESCAPE '\'clause introduced in 2.36; a backslash-free LIKE escape character is now used.
-
v2.36.029 May 2026Release notes
Open source →Changelog (v2.35.0...v2.36.0)
- security #cve-2026-49216 Fix XSS via unescaped AJAX response data (@Kocal)
- security #cve-2026-49211 Escape LIKE wildcards in the search query (@Amoifr)
-
v2.35.005 Apr 2026Release notes
Open source →Changelog (v2.34.0...v2.35.0)
- feature #3422 Add option
clear_on_focus(@zairigimad)
- feature #3422 Add option
-
v2.34.021 Mar 2026Release notes
Open source →Changelog (v2.33.0...v2.34.0)
- bug #3401 Update package.json to
2.33.0(@Kocal)
- bug #3401 Update package.json to
-
v2.33.015 Mar 2026 -
v2.32.001 Jan 2026Nothing published for this version
-
v2.31.016 Oct 2025Nothing published for this version
-
v2.30.027 Aug 2025Nothing published for this version
-
v2.29.218 Aug 2025Nothing published for this version
-
v2.29.108 Aug 2025Nothing published for this version
-
v2.29.007 Aug 2025 -
v2.28.229 Jul 2025Nothing published for this version
-
v2.28.128 Jul 2025Nothing published for this version
-
v2.28.027 Jul 2025Release notes
Open source →- Default plugins like
clear_buttonorremove_buttoncan now be removed when setting their value tofalsein thetom_select_options.pluginsoption, for example:
<?php #[AsEntityAutocompleteField] class IngredientAutocompleteType extends AbstractType { public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults([ 'class' => Ingredient::class, 'tom_select_options' => [ 'plugins' => [ 'clear_button' => false, // Disable the clear button 'remove_button' => false, // Disable the remove button ], ], ]); } public function getParent(): string { return BaseEntityAutocompleteType::class; } } - Default plugins like
-
v2.27.021 Jun 2025Nothing published for this version
-
v2.26.105 Jun 2025Nothing published for this version
-
v2.26.023 May 2025Nothing published for this version
-
v2.25.219 May 2025Nothing published for this version
-
v2.25.119 May 2025Nothing published for this version
-
v2.25.026 Apr 2025 -
v2.24.017 Mar 2025Nothing published for this version
-
v2.23.006 Feb 2025Release notes
Open source →- Deprecate
ExtraLazyChoiceLoaderin favor ofSymfony\Component\Form\ChoiceList\Loader\LazyChoiceLoader - Reset TomSelect when updating url attribute #1505
- Add
EntityAutocompleterInterface::getAttributes()method to define additional attributes for autocomplete results #2541
- Deprecate
-
v2.22.105 Dec 2024Nothing published for this version
-
v2.22.028 Nov 2024 -
v2.21.021 Oct 2024Release notes
Open source →- Translate the
option_createoption from TomSelect with remote data setup #2279 - Add one missing Dutch translation #2279
- Translate the
-
v2.20.006 Sep 2024 -
v2.19.213 Aug 2024Nothing published for this version
-
v2.19.031 Jul 2024Nothing published for this version
-
v2.18.001 Jun 2024Nothing published for this version
-
v2.17.019 Apr 2024 -
v2.16.029 Feb 2024 -
v2.15.020 Feb 2024Release notes
Open source →- Add doctrine/orm 3 support #1468
- Allow passing extra options to the autocomplete fields #1322
- Fix 2 bugs where TomSelect would reset when not necessary #1502
- Add one missing German translation #1521
-
v2.14.203 Feb 2024Nothing published for this version
-
v2.14.030 Jan 2024Release notes
Open source →- Fixed behavior of Autocomplete when the underlying
selectoroptionelements were modified to hopefully, more reliably, reset the autocomplete instance. This is particularly important with LiveComponents. - Add support for the
render.loading_moreTom Select Virtual Scroll option (loading_more_text) - Avoid losing the selected options when the Stimulus component is disconnected and reconnected to the DOM.
- Added
tom-select/dist/css/tom-select.bootstrap4.csstoautoimport- this will cause this to appear in yourcontrollers.jsonfile by default, but disabled see. - Allow passing
extra_optionskey in an array passed as a3rdargument of the->add()method. It will be used during the Ajax call to fetch results.
- Fixed behavior of Autocomplete when the underlying
-
v2.13.312 Nov 2023Nothing published for this version
-
v2.13.211 Nov 2023 -
v2.13.109 Nov 2023Nothing published for this version
-
v2.13.007 Nov 2023Release notes
Open source →- Add new BaseEntityAutocompleteType
- Drop symfony 5.4 support.
- Add Symfony 7 support.
- Change JavaScript package to
type: module
-
v2.12.013 Sep 2023Nothing published for this version
-
v2.11.211 Sep 2023Nothing published for this version
-
v2.11.119 Jun 2023Nothing published for this version
-
v2.11.0no dateNothing published for this version
-
v2.10.0no dateNothing published for this version
-
v2.9.130 May 2023Nothing published for this version
-
v2.9.026 May 2023 -
v2.8.124 Apr 2023Nothing published for this version
-
v2.8.0no dateRelease notes
Open source →-
The autocomplete now watches for update to any
optionelements inside of it change, including the empty / placeholder element. Additionally, if theselectorinputelement'sdisabledattribute changes, the autocomplete instance will update accordingly. This makes Autocomplete work correctly inside of a LiveComponent. This functionality does not work formultipleselects. -
Added support for using OptionGroups.
-
-
v2.7.124 Jan 2023Nothing published for this version
-
v2.7.019 Jan 2023Release notes
Open source →-
Add
assets/srcto.gitattributesto exclude them from the installation -
Fix minCharacters option default value handling when using a falsy value like 0.
-
Fix TypeScript types
-
Add a new
routeparameter toAsEntityAutocompleteField, which allows to choose another route for Ajax calls. -
Fix minCharacters option default value handling when using a falsy value like 0.
-
Fix TypeScript types
-
Add a way to detect if a field is an "autocomplete" field in form themes - #608
-
-
v2.6.101 Dec 2022Nothing published for this version
-
v2.6.028 Nov 2022Release notes
Open source →- [BC BREAK]: The path to
routes.phpchanged and you should update your route import accordingly:
# config/routes/ux_autocomplete.yaml ux_autocomplete: - resource: '@AutocompleteBundle/Resources/routes.php' + resource: '@AutocompleteBundle/config/routes.php' prefix: '/autocomplete'- Add support for
tom-selectversion2.2.2and made this the minimum-supported version. - Added support for the
preloadTomSelect option. - Fix don't add WHERE IN criteria without params (#561).
- Fix issue where
max_resultswas not passed as a Stimulus value (#538). - Add all possible stylesheets for tom-select to the autoimport to choose from.
- [BC BREAK]: The path to
-
v2.5.006 Nov 2022Release notes
Open source →-
Automatic pagination support added: if the query would return more results than your limit, when the user scrolls to the bottom of the options, it will make a second Ajax call to load more.
-
Added
max_resultsoption to limit the number of results returned by the Ajax endpoint - #478. -
Support added for setting the required minimum search query length (defaults to 3) (#492)
-
Fix support for more complex ids, like UUIDs - #494.
-
Fixed bug where sometimes an error could occur in the Ajax call related to the label - #520.
-
-
v2.4.014 Aug 2022 -
v2.3.006 Jul 2022Nothing published for this version
-
v2.2.015 Jun 2022Nothing published for this version