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.

radio input and ng-repeat are not working #1100

@vlamic

Description

@vlamic

If you have radio buttons in corporation with "ng-repeat", the radio buttons do not reflect result to "ng-model".

E.g.

  <table>
        <tr ng-repeat="option in options">
            <td>
                <input type="radio" ng-model="selectedOption" value="{{option.value}}"
                       id="option-{{option.value}}">
                <label for="option-{{option.value}}">{{option.description}}</label>
            </td>
        </tr>
    </table>

In the example above it is possible to select all radio buttons at the same time even if they have same "ng-model".
angular 1.0.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