#110771Badge does not wrap to multiple lines
Description
The badge component does not wrap when longer texts are entered and there isn’t enough space in the frame.
Reviews 2
Files 1
History 47
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2026-09-24T09:21:23+00:00" > 09/24/26, 09:21 </span>
-
Oliver Bartsch changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-10-19T11:50:41+00:00" > 10/19/26, 11:50 </span> -
Oliver Bartsch commented and changed status
Needs FeedbackAccepted <span data-processor="relativetime" data-value="2026-10-19T12:08:45+00:00" > 10/19/26, 12:08 </span>Hey,
sorry, missed the screenshot, which already answers my questions.
The message comes from core, not from the container extension. Since v14.2 (#109366), FormEngine keeps a select field with no selectable items as read-only when debug output is enabled, and adds the hint “No selectable items available. Check TCA, related records and TSconfig.” The hint is rendered by
NoSelectableItemsAvailable(EXT:backend/Classes/Form/FieldInformation/NoSelectableItemsAvailable.php) as<span class="badge badge-info">.So the global badge styling stays as it is (
white-space: nowrapis intended), but this message should either be adjusted or not be a badge at all. I am setting the issue back to “New”.Cheers, Oli
-
Gerrit Code Review pushed patch set 1 for main to change 96878 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-10-19T18:01:19+00:00" > 10/19/26, 18:01 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 96959 <span data-processor="relativetime" data-value="2026-10-21T06:48:08+00:00" > 10/21/26, 06:48 </span>
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 96959 <span data-processor="relativetime" data-value="2026-10-21T10:40:04+00:00" > 10/21/26, 10:40 </span>
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-21T11:00:53+00:00" > 10/21/26, 11:00 </span>Applied in changeset commit:5834b080376988fc717e3cdd0a0834eb3803e97a.
Okay, but I think that’s a misuse of the component… a badge should not contain entire phrases, but single numbers / short words or at maximum a couple of words
https://component.gallery/components/badge/
Atlassian limits the width of its “Lozenge” component to 200px and truncates the text