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

required md-select is not higlighted as error on form submit #6184

Closed
vovikdrg opened this issue Jul 31, 2017 · 3 comments
Closed

required md-select is not higlighted as error on form submit #6184

vovikdrg opened this issue Jul 31, 2017 · 3 comments

Comments

@vovikdrg
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Select should be red same way as md-input

What is the current behavior?

Select is not highlighted it stay as untouched

What are the steps to reproduce?

https://plnkr.co/edit/jEvWLqsrlUrnBjkUUBes?p=preview click submit and you will see that input is showing error but select is not

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

Should be same way as other components

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

@angular/animations: 4.3.2
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.2
@angular/compiler: 4.3.2
@angular/core: 4.3.2
@angular/forms: 4.3.2
@angular/http: 4.3.2
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.2
@angular/platform-browser-dynamic: 4.3.2
@angular/router: 4.3.2
@angular/cli: 1.2.6
@angular/compiler-cli: 4.3.2

Is there anything else we should know?

In addition if required validator is applied md- controls should have asterix so user understand that fields are required. In Example md-input has required validator but label doesn't have *

@crisbeto
Copy link
Member

crisbeto commented Aug 1, 2017

This is resolved in master by #4754.

@crisbeto crisbeto closed this as completed Aug 1, 2017
@finalxcode
Copy link

+1

@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 6, 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

No branches or pull requests

3 participants