While tbxforms marks optional labels with "(required)", we had requests to stick to the asterisk denoting required fields.
At the moment that is not possible unless one overrides the whole field.html or use JS.
Can we:
[ ] add a required class to all labels for required fields (or optional fields marked as required) e.g. tbxforms-label--required
[x] allow passing additional classes to labels, or the wrapping container (I guess that is covered by #26. One can pass label_class to the Field definition, h/t @siimonevans). Although in our case it can be tedious to have to specify each field
[ ] make the label and include that is easier to override in isolation?
[ ] optionally have TBXFORMS_REQUIRED_LABEL_MARKER settings, defaulting to an empty string?
While tbxforms marks optional labels with "(required)", we had requests to stick to the asterisk denoting required fields.
At the moment that is not possible unless one overrides the whole
field.html
or use JS.Can we:
tbxforms-label--required
label_class
to theField
definition, h/t @siimonevans). Although in our case it can be tedious to have to specify each field