Skip to content

Conversation

@maxperei
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
Deprecations? no
Documentation? no
Issues Fix #2477
License MIT

during createAutocompleteWithHtmlContents() it seems that a commonConfig is overridden by a new one but some nested properties are lost during the #mergeConfigs() and especially no_results that fallbacks to the untranslated tom-select default one

@carsonbot carsonbot added Autocomplete Bug Bug Fix Status: Needs Review Needs to be reviewed labels Oct 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2025

📊 Packages dist files size difference

Thanks for the PR! Here is the difference in size of the packages dist files between the base branch and the PR.
Please review the changes and make sure they are expected.

FileBefore (Size / Gzip)After (Size / Gzip)
Autocomplete
controller.js 14.99 kB / 3.87 kB 15.02 kB0% / 3.88 kB0%

…erge (such as `no_results`) for `options_as_html` inputs
@maxperei maxperei force-pushed the fix/autocomplete-options-as-html-no-results-untranslated branch from 76664dd to dba3f5f Compare October 23, 2025 13:29
@Kocal
Copy link
Member

Kocal commented Oct 27, 2025

Thank you @maxperei.

@Kocal Kocal merged commit 9030521 into symfony:2.x Oct 27, 2025
28 checks passed
@maxperei maxperei deleted the fix/autocomplete-options-as-html-no-results-untranslated branch October 27, 2025 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Autocomplete] 'no_results' text is not translated when using 'options_as_html'

3 participants