NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1152 most downloaded on Packagist
JavaScript Autocomplete functionality for Symfony
Last release 19 days ago
19 Sep 2026
Ships fairly regularly
a new release about every 6 weeks
Some releases are documented
notes for 30 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
62 releases · first in 2022
One column per quarter.
Nothing published for this version
feature #3814 Add support for Twig 4.x ( @Kocal )
Changelog (v3.4.0...v3.5.0)
target to es2022 (@Kocal)minor #3735 Add sync-packages.php to normalize packages .gitattributes ( @Kocal )
Changelog (v3.3.0...v3.4.0)
bug #3685 Fix LIKE ESCAPE clause breaking search on PostgreSQL ( @Amoifr )
Changelog (v3.2.0...v3.3.0)
Changelog ( v3.1.0...v3.2.0 ) no significant changes
Changelog (v3.1.0...v3.2.0)
security # cve-2026-49216 Fix XSS via unescaped AJAX response data ( @Kocal )
Changelog (v3.0.0...v3.1.0)
hash_equals() to compare the extra_options checksum (@Amoifr)feature #3103 Remove deprecated code for 3.0 ( @smnandre )
Changelog (v2.34.0...v3.0.0)
clear_on_focus (@zairigimad)Changelog ( v2.36.1...v2.36.2 )
Changelog (v2.36.1...v2.36.2)
ESCAPE '\' clause introduced in 2.36; a backslash-free LIKE escape character is now used.security # cve-2026-49216 Fix XSS via unescaped AJAX response data ( @Kocal )
Changelog (v2.35.0...v2.36.0)
Changelog ( v2.34.0...v2.35.0 )
Changelog (v2.34.0...v2.35.0)
clear_on_focus (@zairigimad)Changelog ( v2.33.0...v2.34.0 )
Changelog (v2.33.0...v2.34.0)
2.33.0 (@Kocal)feature #3362 Migrate from tsup (deprecated) to tsdown ( @Kocal )
Changelog (v2.32.0...v2.33.0)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- Add Symfony 8 support
Nothing published for this version
Nothing published for this version
Default plugins like clear_button or remove_button can now be removed when setting their value to false in the tom_select_options.plugins option, for
clear_button or remove_button can now be removed when setting their value to false in the tom_select_options.plugins option, 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;
}
}
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Escape querySelector dynamic selector with CSS.escape() #2663
querySelector dynamic selector with CSS.escape() #2663Nothing published for this version
Deprecate ExtraLazyChoiceLoader in favor of Symfony\Component\Form\ChoiceList\Loader\LazyChoiceLoader
ExtraLazyChoiceLoader in favor of Symfony\Component\Form\ChoiceList\Loader\LazyChoiceLoaderEntityAutocompleterInterface::getAttributes() method to define additional attributes for autocomplete results #2541Nothing published for this version
Take labelField TomSelect option into account #2382
labelField TomSelect option into account #2382Translate the option_create option from TomSelect with remote data setup #2279
option_create option from TomSelect with remote data setup #2279Translate the option_create option from TomSelect #2108
option_create option from TomSelect #2108Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow choice_value option in entity autocomplete fields #1723
choice_value option in entity autocomplete fields #1723Missing translations added for many languages #1527 #1528 #1535
Add doctrine/orm 3 support #1468
Nothing published for this version
Fixed behavior of Autocomplete when the underlying select or option elements were modified to hopefully, more reliably, reset the autocomplete instanc
select or option
elements were modified to hopefully, more reliably, reset the autocomplete
instance. This is particularly important with LiveComponents.render.loading_more Tom Select Virtual Scroll option (loading_more_text)tom-select/dist/css/tom-select.bootstrap4.css to autoimport - this
will cause this to appear in your controllers.json file by default, but disabled
see.extra_options key in an array passed as a 3rd argument of the ->add() method.
It will be used during the Ajax call to fetch results.Nothing published for this version
Revert "Change JavaScript package to type: module"
type: module"Nothing published for this version
Add new BaseEntityAutocompleteType
type: moduleNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for symfony/asset-mapper
Nothing published for this version
The autocomplete now watches for update to any option elements inside of it change, including the empty / placeholder element. Additionally, if the se
The autocomplete now watches for update to any option elements inside of
it change, including the empty / placeholder element. Additionally, if the
select or input element's disabled attribute changes, the autocomplete
instance will update accordingly. This makes Autocomplete work correctly inside
of a LiveComponent. This functionality does not work for multiple selects.
Added support for using OptionGroups.
Nothing published for this version
Add assets/src to .gitattributes to exclude them from the installation
Add assets/src to .gitattributes to exclude them from the installation
Fix minCharacters option default value handling when using a falsy value like 0.
Fix TypeScript types
Add a new route parameter to AsEntityAutocompleteField, 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
Nothing published for this version
[BC BREAK]: The path to routes.php changed and you should update your route import accordingly:
routes.php changed 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'
tom-select version 2.2.2 and made this the minimum-supported
version.preload TomSelect option.max_results was not passed as a Stimulus value (#538).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 wil
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_results option 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.
- Component added!
Your coding agent can read these notes before it upgrades. Set up the MCP server →