Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Input[type=radio] - name attribute required #859

Closed
jsteenkamp opened this Issue · 1 comment

2 participants

@jsteenkamp

I found that I have to provide a name attribute for radio inputs to correctly set the default/checked value from the model (controller scope).

Not having name attribute results in name="undefinded@undefined" being inserted by Angular (1.0.0rc3) :

This is contrary to the current docs at:
http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive.input.radio

@pkozlowski-opensource
Collaborator

Seems to be working OK in the AngularJS 1.0.2: http://jsfiddle.net/5KF4c/
Closing. @jsteenkamp feel free to reopen if you still face issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.