Skip to content

Support using FormLabel for a collection of inputs #847

@dg-harris

Description

@dg-harris

When labeling a group of inputs it's recommended to create a fieldset element with a nested legend element. I'd like to add support to treat the FormLabel component as a legend instead of a label for situations like this.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend

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