You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
invalid MdSelect should highlight itself on parent form submitted #4611
Expect md-select to show red (or 'warning' color) if it is invalid and its parent form is submitted.
What is the current behavior?
Currently the select does show warning color on touched and invalid, but not on parent form submitted and invalid.
What are the steps to reproduce?
See this plunk. Both the select and the input are 'required'. Click 'submit' and see that the select does not change its appearance like the input does.
What is the use-case or motivation for changing an existing behavior?
Would like to highlight errors on submit.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
The select's 'required' asterisk also is not 'warning' color in all the same states as it is in the input:
When an input is focused (and valid or untouched), the asterisk is 'warning' even though everything else is 'primary'. When a select is focused, everything is 'primary' including the asterisk.
Activity
natsid commentedon May 17, 2017
The select's 'required' asterisk also is not 'warning' color in all the same states as it is in the input:
When an input is focused (and valid or untouched), the asterisk is 'warning' even though everything else is 'primary'. When a select is focused, everything is 'primary' including the asterisk.
fix(select): consistent error behavior to md-input-container
fix(select): consistent error behavior to md-input-container
fix(select): consistent error behavior to md-input-container
fix(select): consistent error behavior to md-input-container
fix(select): consistent error behavior to md-input-container
fix(select): consistent error behavior to md-input-container (#4754)
angular-automatic-lock-bot commentedon Sep 6, 2019
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.