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.

ngIf breaks ngModel #7216

@Francisc

Description

@Francisc

Hello,

If, for example, you place a checkbox component inside a container with ngIf, inside the ngChange method, the state of the checkbox is always false.

I've made a simple Plunkr to demonstrate this.
http://plnkr.co/edit/QEIXZR1kJVvcw30R1O0t?p=preview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions