Skip to content

bug(input): Chrome autofill should set the form to valid #3414

Closed
@dahaupt

Description

@dahaupt

Bug, feature request, or proposal:

Probably a bug, but standard HTML input has the same issue in Chrome. Maybe anyone has an idea for a workaround.

What is the expected behavior?

Form changes state to valid if the autofill of Chrome fills input fields.

What is the current behavior?

You have to click inside the form / app to activate the autofill value and the state of the form changes to valid.

What are the steps to reproduce?

Plunker not possible, screenshot right after the start of the app:
image

This is only happening at the initial start of the app!

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

Changing the state of the form to valid if the autofill value of Chrome is passed in.

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

Angular 2.4.9,
Google Chrome 56
Material Beta 2
Windows 10

Is there anything else we should know?

I'm not sure if anyone else noticed this. It's not that bad but it looks confusing.

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