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
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
When a controlgroup is created from a input radio set, the <legend> element of the <fieldset> is converted to a <div>. However, its classes are not copied.
A simple edit to the code can make this working:
if ( grouplegend.length ) {
// Replace legend with more stylable replacement div
$( "<div role='heading' class='ui-controlgroup-label'>" + grouplegend.html() + "</div>" ).insertBefore( $el.children( 0 ) ).addClass(grouplegend.attr('class'));
grouplegend.remove();
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. I agree we have to look at porting classes over to the enhanced elements in cases like this. There is an open ticket for this: #3577.
I am closing this ticket as duplicate and will comment there that we also have to look at checkbox/radio controlgroups.
When a controlgroup is created from a input radio set, the
<legend>
element of the<fieldset>
is converted to a<div>
. However, its classes are not copied.A simple edit to the code can make this working:
The text was updated successfully, but these errors were encountered: