How do I replace <fieldset> with another wrapper for form elements?

30/07/2018


There is a long-standing bug that prevents <fieldset> elements from utilizing any Flexbox styling. Since I can’t make my design work with <fieldset>, how would I replace it with a different HTML wrapper element?

Currently, it’s wrapping the “Sort by” exposed filter and its radio elements on one of my Views.

I don’t see any template suggestions for fieldset.html.twig, so I have no idea how to override just my particular fieldset’s template. And a search reveals nothing that answers this question.

قالب وردپرس