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.

FormController adding ngModel twice on manual $compile #9169

@pocesar

Description

@pocesar

While trying to thrive with #9138 I found that the $error and $$success objects are being set twice with the same controller after doing a manual $compile on an input.

Plunkr http://plnkr.co/edit/Oq74gQNQaxmQfRTvMKRI?p=preview (required is listed twice for the same model under $error)

EDIT: actually there's a zombie ngModelController that sticks on $$success from the previous existing element that was removed from DOM

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