Skip to content

Auto-sizing form label doesn't align correctly with custom form controls #26616

@andresgalante

Description

@andresgalante

Since the custom select has a width: 100% here the custom select goes to a new line when there is a label:

screen shot 2018-05-28 at 9 15 55 am

I've added a sr-only class to the label on #26615 to fix the docs.

If an author wants to use a label with a custom element they can use the form-inline class on the form element and it'll work just fine, but not with Auto-sizing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions