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.

The ng-true-value and ng-false-value directives prevent checkbox from being checked. #2220

@markalanevans

Description

@markalanevans

If you set the ng-model and ng-true-value and / or ng-false-value
on checkbox, the checkbox will not be checked if the value for ng-model is true.

However, remove the ng-true-value and ng-false-value directives and it correctly checks the boxes.

Here is an example:
http://jsfiddle.net/friskd/wy4PM/1/

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