Commit 9030521
committed
bug symfony#3148 [Autocomplete] Untranslated
This PR was merged into the 2.x branch.
Discussion
----------
[Autocomplete] Untranslated `no_results` label when `options_as_html` is set
| Q | A
| -------------- | ---
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Documentation? | no
| Issues | Fix symfony#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
Commits
-------
dba3f5f fix(render): [autocomplete] missing common config properties during merge (such as `no_results`) for `options_as_html` inputsno_results label when options_as_html is set (maxperei)2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
0 commit comments