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.

Using ng-true-value in conjunction with ng-required fails to pass value to model #6875

Closed

Description

@pixelsailor

Using a list of checkboxes (within ng-repeat) I've found that checking a checkbox won't get evaluated if both the ng-true-value and ng-required attributes are present. Removing one or the other will allow the model to update normally.

See Plunker
http://plnkr.co/edit/keCYcSjyZnaSJMpHP2UE?p=preview

Activity

  1. self-assigned this
    on Mar 27, 2014
  2. lgalfaso commented on Mar 27, 2014

    @lgalfaso
    Contributor

    It looks like a real bug

  3. added a commit that references this issue on Mar 27, 2014
    e28002b
  4. removed their assignment
    on Mar 27, 2014
  5. Narretz commented on Mar 27, 2014

    @Narretz
    Contributor

    #5164 seems to be the same issue ?
    and a fix: #6065

  6. lgalfaso commented on Mar 27, 2014

    @lgalfaso
    Contributor

    Dup of #5164. Closing
    Thanks @Narretz for pointing this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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