Skip to content

Which classes should I use for this? #161

@jacarma

Description

@jacarma

We are writing a form engine with some components and we want to add all the classes needed for external teams to use and adapt our engine. Which classes should I set to the label of an invalid text component? The validation that fails is isRequired.
I thought of these, but not sure if it's too much.

flw__label
flw__text__label
flw__text--invalid-is-required__label
flw__text--invalid__label
flw__component--invalid-is-required__label
flw__component--invalid__label

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