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

button-toggle and radio conflict with each other #2274

Closed
thunderrun opened this issue Dec 19, 2016 · 1 comment · Fixed by #2343
Closed

button-toggle and radio conflict with each other #2274

thunderrun opened this issue Dec 19, 2016 · 1 comment · Fixed by #2343
Assignees

Comments

@thunderrun
Copy link

thunderrun commented Dec 19, 2016

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When <md-button-toggle> is toggled, <md-radio-button> should keep the selection and vice versa.

What is the current behavior?

When <md-button-toggle> is toggled, <md-radio-button> get deselected and vice versa.

What are the steps to reproduce?

http://plnkr.co/edit/966VCLoOZIfs5nTsb169?p=preview

Which versions of Angular, Material, OS, browsers are affected?

Angular 2.2.3
Material 2.0.0-alpha.11-3
OS windows 10
browser Chrome

@crisbeto crisbeto self-assigned this Dec 22, 2016
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 22, 2016
Prevents the button toggle from conflicting with radio buttons on the same page. This was because both components were using the same pattern to generate unique `name` attributes.

Fixes angular#2274.
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 30, 2016
Prevents the button toggle from conflicting with radio buttons on the same page. This was because both components were using the same pattern to generate unique `name` attributes.

Fixes angular#2274.
mmalerba pushed a commit that referenced this issue Jan 18, 2017
Prevents the button toggle from conflicting with radio buttons on the same page. This was because both components were using the same pattern to generate unique `name` attributes.

Fixes #2274.
kara pushed a commit to kara/material2 that referenced this issue Jan 20, 2017
Prevents the button toggle from conflicting with radio buttons on the same page. This was because both components were using the same pattern to generate unique `name` attributes.

Fixes angular#2274.
@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 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants