Skip to content

Inconsistencies in the md-select implementation compared to md-input #2963

Closed

Description

Proposal:

md-select should have the floatPlaceholder input property and it should be able to use md-placeholder as ContentChild.

What is the use-case or motivation for changing an existing behavior?

With the current implementation you can not place the label/placeholder on the left side. With md-input you can achieve this by setting floatPlaceholder="always" and with some custom css.

You could argue that you can not use the placeholder property in order to achieve this, but if you want to keep the label colouring functionality depending on the component state it's a pain to implement.

Maybe all form components should have a property placeholderPlacement:"top"|"left".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    featureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions