Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Binding doesn't work with input type="email" #1426

@Shedal

Description

@Shedal

See example:
http://jsfiddle.net/Shedal/MLsMG/14/

Try entering a value into the emailInput field. The {{emailInput}} placeholder does not get updated.
The $watch callback in the controller only gets called when the value changes from/to blank string. Also, the newValue parameter's value is incorrect (undefined for non-blank emailInput values - see console log).

If you try to change input type to text, everything works as expected.

Tested with AngularJS 1.0.2 in latest Chrome and Firefox on Mac OS X Lion.

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