Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(forms): add support for radio buttons #6877

Closed
wants to merge 1 commit into from

Conversation

vsavkin
Copy link
Contributor

@vsavkin vsavkin commented Feb 3, 2016

Fixes #5133, Fixes #3104

@vsavkin vsavkin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Feb 3, 2016
expect(value['foodFish'].checked).toEqual(false);
async.done();
});
}));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to this case where you use the "change" event, you should also have a case where one radio button becomes deselected by clicking another with the same name (because the deselection won't have an associated event).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added tests covering it

@jelbourn
Copy link
Member

jelbourn commented Feb 3, 2016

LGTM aside from the need for additional test case

@vsavkin vsavkin force-pushed the fix_input_type_radio branch from c2b964f to b1ad032 Compare February 5, 2016 19:56
@vsavkin vsavkin added pr_state: LGTM action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 5, 2016
@vsavkin vsavkin assigned vsavkin and unassigned jelbourn Feb 5, 2016
@vsavkin vsavkin force-pushed the fix_input_type_radio branch from b1ad032 to 6983735 Compare February 5, 2016 21:29
@mary-poppins
Copy link

Merging PR #6877 on behalf of @btford to branch presubmit-btford-pr-6877.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

input type=radio not updating form value input type=radio not handled correctly by ng-model
5 participants