Kumar, use same name attribute for both the radio radio button tags that prevents it from selecting both at a time. Have update the plnkr for the same. http://plnkr.co/edit/Bc4z9mHPlHOctnNBlQGP?p=preview
On Tuesday, 25 February 2014 18:15:05 UTC+5:30, Pushpendra Kumar wrote: > > Thanks Kamal for replying. > But in this updated plnkr you see that I can select both radio buttons. > > > > On Tuesday, 25 February 2014 17:57:21 UTC+5:30, Kamal wrote: >> >> Kumar, >> >> Please find the updated plnkr >> http://plnkr.co/edit/Bc4z9mHPlHOctnNBlQGP?p=preview<http://www.google.com/url?q=http%3A%2F%2Fplnkr.co%2Fedit%2FBc4z9mHPlHOctnNBlQGP%3Fp%3Dpreview&sa=D&sntz=1&usg=AFQjCNHBKZEozGTHlWbWlzHzzbLT5zM-0g> >> >> It does not select the radio button on click, I dint see a way at the >> movement, i think you can do it by adding an ng-click and select the radio. >> >> Hope it's useful, >> Kamal >> >> >> On Tuesday, 25 February 2014 17:22:14 UTC+5:30, Pushpendra Kumar wrote: >>> >>> Hello All, >>> >>> I am using radio button with multiple fields and I >>> want the values of all fields on radio button selection. >>> Also I want that on change of any field within the >>> area of that radio should be selected. >>> Please go through the following example : >>> http://plnkr.co/edit/FzEH4Hm071CuC0GR6iqm?p=preview >>> >>> * I want following things:* >>> 1. Felds infront of the radio button should be submitted only when there >>> radio button is selected. >>> 2. If I modify any input or selectbox corresponding radibutton should be >>> selected automatically. >>> 3. I want combined value of both fields(input and select) of every radio >>> butoon on radio button model >>> like : radTest : {inp:fdghgf, selct:1} >>> >>> >>> Please suggest me the way. >>> >>> >>> Thanks in Advance, >>> Pushpendra >>> >> -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
