Problem/Motivation

When a fieldset is NOT disabled, it generates an attribute in the form ="", which is invalid. The is caused by disabled_attr being an empty string:

<fieldset {{ attributes.addClass(fieldset_classes).setAttribute(disabled_attr, disabled_attr) }}>

Steps to reproduce

Add a radio buttons to a form and observe the surrounding fieldset.

Comments

danchadwick created an issue. See original summary.

  • danchadwick committed e313e7cc on 6.0.x
    Issue #3497628 by danchadwick: Fieldset component produces invalid HTML...
danchadwick’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.