Skip to content

Label HTML class #325

Closed
Closed
@AlexAlbala

Description

@AlexAlbala

Hi,

I am working in an auto-generated backoffice based on mongoose schemas using this library ( thank you ! :D). I have found these two attributes which are very helpful in order to customize the visual style: htmlClass and fieldHtmlClass.

i.e:

x-schema-form: {
htmlClass: "col-md-6",
fieldHtmlClass: "myclass"
}

My question is if it is possible to add a css class also in the label of the field (it will be very helpful in order to full customize the visibility of all the fields). My proposal is, following your specifications, something like:

x-schema-form: {
labelHtmlClass: "myclass"
}

Do you think that it will be possible ?

If you think that it is a good idea but you do not have time to develop it, I can contribute with this change in a few weeks (maybe months :P)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions