Background
With higher complex forms, we need some kind of styling hook for fieldsets in contrast to only .cdx-field as we will need to differentiate between them.
Relying on fieldset element selector as qualifier is against our approach to be as DOM-element independent elsewhere.
Goal
Add additional selector.
Open questions
- Deciding if we're going for .cdx-fieldset additionally to .cdx-field or for a different solution
- Decision: We add cdx-field--is-fieldset to the Field class.
Acceptance criteria
- Add cdx-field--is-fieldset to Codex Field when isFieldset is true