Skip to content

[md-input] Bug - floatingPlaceholder and autocomplete. #1694

@joejordanbrown

Description

@joejordanbrown

Bug, feature request, or proposal:

Bug

What is the expected behaviour?

floatingPlaceholder should disable the floating placeholder but autocomplete breaks this.

What is the current behaviour?

floatingPlaceholder = false. When selecting from autocomplete the floating placeholder appears.

image

image

image

What are the steps to reproduce?

Chrome type something enter then refresh start to type what you previously inputted choose the autocompleted value and the placeholder will appear.

Which versions of Angular, Material, OS, browsers are affected?

Latest versions of Angular and Material, Windows 10, Chrome. Not tested on other browsers or OS.

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