You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I was trying to achieve a pair of radio button inside 2 levels of ng-repeat. I can check the radio button, the values changes as expected. But if the values are assigned from control, only last pair of radio button get updated. When I change the version to 1.2.0, it works fine.
I hope you have noticed that, the names are not same for all radio buttons. it is same only for a group.
Well, i found a solution for my issue. - Instead of giving name as driverGender{{$index}}{{$parent.$index}}, created function which return the same.
I hope you have noticed that, the names are not same for all radio buttons
I have. My previous comment is still valid. There are some implications when using the same name in multiple controls in Angular. Make sure to take a look at #15009 for more info.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please check the below code.
http://plnkr.co/edit/gTmgOPR4jJFM1armkTL2?p=preview
I was trying to achieve a pair of radio button inside 2 levels of ng-repeat. I can check the radio button, the values changes as expected. But if the values are assigned from control, only last pair of radio button get updated. When I change the version to 1.2.0, it works fine.
posted the same on stack overflow - http://stackoverflow.com/questions/38919278/angularjs-1-5-8-radio-button-list-inside-2-levels-of-ng-repeat-not-working-pro
The text was updated successfully, but these errors were encountered: