Skip to content

MdCheckbox: valueChanges observable emits new value twice #597

@udos86

Description

@udos86

Bug, feature request, or proposal: Bug

What is the expected behavior?

valueChanges observable of MdCheckbox form control should emit new value only once when corresponding ngModel is updated programmatically

What is the current behavior?

valueChanges observable of MdCheckbox form control emits new value twice corresponding ngModel is updated programmatically

What are the steps to reproduce?

See this plunker: http://plnkr.co/edit/55wf5BxZ1cmHdFgEeu4K?p=preview

Open DevTools console and click test button --> current value is logged twice

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

Performance

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