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

MdSelect inside disabled fieldset should be disabled #4744

Closed
vincentpalita opened this issue May 23, 2017 · 7 comments
Closed

MdSelect inside disabled fieldset should be disabled #4744

vincentpalita opened this issue May 23, 2017 · 7 comments
Labels
area: material/form-field area: material/select feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@vincentpalita
Copy link

vincentpalita commented May 23, 2017

Bug, feature request, or proposal:

Bug

What is the expected behavior?

A md-select element should be disabled if it is inside a disabled fieldset like other fields such as input, textarea, ...

What is the current behavior?

You can use the md-select component even if its parent fieldset is disabled.

What are the steps to reproduce?

http://plnkr.co/edit/bXjtAGhH2jpM4jrSB3Pg?p=preview

What is the use-case or motivation for changing an existing behavior?

When you wish to disable a full form it is very convenient to use a disabled fieldset. It will in fact disable everything and removes the need to disable each single field one by one.

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

Angular : "@angular/core": "4.1.3",
Material : "@angular/material": "2.0.0-beta.5",
Typescript : "typescript": "^2.3.3"

OS: OSX & Windows
Browsers : All

Is there anything else we should know?

None that I know of!

@tinayuangao tinayuangao added feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion labels May 23, 2017
@tinayuangao
Copy link
Contributor

Related to #2763

@crisbeto
Copy link
Member

Should be resolved by #4334.

@Splaktar
Copy link
Member

Seems to be tracked in angular/angular#13856.

@un1c0rnr1d3r
Copy link

Will this be resolved by angular/angular#13856?

The Material Select component is different than the other form control components because it does not render an actual <select> element. I think we'll need to add support for this in the Material library itself.

@thw0rted
Copy link

thw0rted commented Dec 4, 2020

I think all related issues have been funneled towards angular/angular#35309 -- do I understand correctly that resolving that will fix this as well?

@jelbourn
Copy link
Member

Closing this since the underlying issue is tracked on angular/angular#35309

@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 Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: material/form-field area: material/select feature This issue represents a new feature or feature request rather than a bug or bug fix P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

No branches or pull requests

8 participants