You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was submitted for the 4.2 branch but it was merged into the 4.3-dev branch instead (closes#31220).
Discussion
----------
[TwigBridge] bootstrap4 file_widget: allow setting label attributes declared in label_attr
| Q | A
| ------------- | ---
| Branch? | 4.2 <!-- see below -->
| Bug fix? | yes
| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | ... <!-- #-prefixed issue number(s), if any -->
| License | MIT
| Doc PR | ... <!-- required for new features -->
> Bootstrap provides a way to translate the “Browse” text in HTML with the data-browse attribute which can be added to the custom input label.
https://getbootstrap.com/docs/4.3/components/forms/#translating-or-customizing-the-strings-with-html
But currently the attributes declared in label_attr aren't being added.
Previously I sent this same change to the master branch (PR #31102), but I think I should have sent it to branch 4.2
Commits
-------
9c76b29 [TwigBridge] bootstrap4 file_widget: allow setting label attributes declared in label_attr
0 commit comments