- Status changed to Closed: duplicate
10 months ago 7:34am 8 March 2024 - 🇺🇦Ukraine AstonVictor
It's a duplicate of 🐛 Doesn't work with fieldgroups Fixed that is already fixed.
When there are nested fieldset, for example when a radio buttons element is placed inside a fieldset, there are duplicated formtips icon. One of those trigger the tooltip and the other not.
The issue is caused by the js component, using find to elements with class fieldset-legend from the fieldset element item. This will return all matches, not only the fieldset element itself, but also any nesting one like radios, checkboxes or other nested fieldsets.
Create a custom form with a fieldset and a radios element inside.
Refactor the js to filter the fieldset-legend search results by the first element. As the source of the search is the proper fieldset element, the first search result will be the wanted one.
Test & review
None
None
None
Closed: duplicate
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
It's a duplicate of 🐛 Doesn't work with fieldgroups Fixed that is already fixed.