- Issue created by @albefer
- πͺπΈSpain albefer
It seems the issue is in this file https://git.drupalcode.org/project/field_group/-/blob/1211c8f4e06592418c.... With this commit, we have switched from using .text() to .html() to build the content of the tabs. As a result, HTML tags, such as , are now included in the tab titles.
- πΊπΈUnited States 3cwebdev
We are seeing this issue as well when using Horizontal Tabbed field groups on the Gin theme. Switch to vertical tabs or a different theme removes the issue.
- πΊπΈUnited States ultimike Florida, USA
I can confirm that using Gin with Field Group results in gin's tabs.css file being loaded in the front end (due to the Gin admin menu, I assume) and messing up many (all?) of Field Group's horizontal tab styles. π
-mike
- π©πͺGermany kufliievskyi Germany, Bayern
Thanks for the patch. I confirm that patch #6 fixes the issue. Tested on Drupal 10.3.0.
- π©πͺGermany refsz
I can also confirm that the patch fixes the issue for 3.6 and Drupal 10.3.0.
- Status changed to RTBC
7 months ago 9:25am 8 August 2024 - π§πͺBelgium kevinvb
I can confirm the patch works on 10.3.1 with Gin admin theme 8.x-3.0-rc13 and field group on 8.x-3.6
- π·π΄Romania andreic
I can also confirm that the patch fixes the issue for 3.6 with Drupal 10.2.6.
- πΊπΈUnited States butterwise
Confirming patch in #6 fixed this issue (8.x-3.6, Drupal 10.2.7, Gin 8.x-3.0-rc13)
- π³πΏNew Zealand jonathan_hunt
Patch #6 worked for me on Field Group 8.x-3.6, Drupal 10.3.3, Gin 3.0.0-rc13.
-
anybody β
committed 62ed4cc3 on 4.x
Issue #3395375: Duplicated required marks in field tabs with GIn admin...
-
anybody β
committed 62ed4cc3 on 4.x
- Status changed to Fixed
6 months ago 6:57am 8 September 2024 - π©πͺGermany Grevil
This introduced a regression. Created a follow-up issue here: π Horizontal Tabs render broken, if child allows HTML Active .
Automatically closed - issue fixed for 2 weeks with no activity.
- π§π¬Bulgaria pfrenssen Sofia
Would it be a good idea to commit this on the stable 3.x branch as well?
- π©πͺGermany Anybody Porta Westfalica
@pfrenssen I'm not against it. Still I think we should better focus on a stable 4.0.0 release!
- Status changed to Fixed
3 months ago 11:51am 9 December 2024 - π―π΄Jordan Rajab Natshah Jordan
Thanks, Andre, for the patch in #6!
It is working with the Field Group ~3.0 version.Hoping this fix makes it into the
8.x-3.x
branch, especially since Field Group 4.0.0-alpha1 has been released. Many sites are unlikely to upgrade from~3
to~4
until an RC or the stable 4.0.0 release is available. - π¨π΄Colombia jedihe
For those of us on 3.6, I'm attaching a patch ported from π Horizontal Tabs render broken, if child allows HTML Active #15 π Horizontal Tabs render broken, if child allows HTML Active , only the changes for
formatters/tabs/horizontal-tabs.js
.Minimally tested on horizontal tabs, enabling "Mark group as required if it contains required fields." now works as expected: only one required mark, only shown on tab titles for panes actually containing required fields.
- πΊπΈUnited States rpearl
I also came across this issue with Gin 4.0.4 and Field Group 4.0.0-alpha1. The "Mark group as required if it contains required fields." checkbox option did not make any difference. I created this patch which gets around the issue and forces the required mark regardless of this option. There should be a better way to do this, but at least this patch would allow me to ensure that the horizontal tabs were always marked correctly (aka, I always want to mark the group required if there are required fields).