-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ng:repeat-ed radio buttons are broken #305
Comments
actually, this works as intended. The issue is this:
in the case above you don't wan't all of the inputs to be changing in unison, you want each repeat to be self contained. This is what you want in most cases! but in this case the self containment is wrong
so I am not sure how can we easily change this? Or how can angular know which one do you mean when you do this. |
both scenarios are reasonable and angular should have answer for both of them. |
agreed, but not sure what the best approach is here. need to sleep on this. |
Interestingly because of how setting values on objects coming from the parent scope works, this code works around the problem:
|
this is still broken in 0.10.3: https://gist.github.com/1293065 Proposed solution: instead of using current scope id in name attribute, use the scope id to which the ng:model is attached to. |
Any news on this one? Still is an issue for me.... |
when radio buttons are nested in ng:repeat, they are broken because angular renames name="foo" to name="@foo". In ng:repeat scopeid is different for each button, which messes up the grouping of radio buttons by name.
The text was updated successfully, but these errors were encountered: