wagtail-deprecated / wagtail-react-streamfield

Powerful field for inserting multiple blocks with nesting. (NO LONGER MAINTAINED - See Wagtail 2.13 Release Notes)

Home Page:https://wagtail.github.io/react-streamfield/public/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asterisk not being displayed for required fields in streamfield

dniegel opened this issue · comments

For required fields in a streamfield, the 'required' asterisk is not displayed beside the fieldname.

missing required asterisk

Possible reason in wagtail-react-streamfield-extra.css

.children-container .field label::after { content: ''; }

That’s in fact something that I did on purpose, because simple field blocks are always mandatory.
The asterisks are only shown on struct blocks.