Commit e9403a6
committed
This PR was merged into the 2.x branch.
Discussion
----------
[LiveComponent] Fix default option extraction ignores Translatable #2621
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Issues | Fix #2621
| License | MIT
Select placeholder in LiveForm will now accept `string` and `TranslatableInterface` from `symfony/translation-contracts`. Therefore mimicking of default browser behaviour will not happen for `TranslatableInterface`.
Commits
-------
d36b98e [LiveComponent] `ComponentWithFormTrait` now correctly checks for a `TranslatableInterface` placeholder for `<select>` elements, close #2621
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
289 | | - | |
| 290 | + | |
| 291 | + | |
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| |||
0 commit comments