Skip to content

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

Closed

Description

@rdinicut

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".

Activity

  1. crisbeto commented on Feb 7, 2017

    @crisbeto
    Member

    The floatingPlaceholder option will be added in #2571

  2. added
    feature
    on Feb 7, 2017
  3. kara commented on Feb 8, 2017

    @kara
    Contributor

    Closing as a dupe of #2569

  4. added a commit that references this issue on Feb 21, 2017
    69d4d4b
  5. added a commit that references this issue on Feb 21, 2017
    bb2392f
  6. added a commit that references this issue on Apr 16, 2017
    ac476e4
  7. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions