-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
selected attribute not working when formcontrol is on select tag #14116
Comments
It's by design. You can find an explanation here angular/components#2250 (comment) |
ok so what should this actually look like:
|
nice, but why this PR is not still included? |
¯_(ツ)_/¯ |
@metamaker it was merged |
@DzmitryShylovich Thx for info. I will wait for release with this PR included and then will update my package.json. |
Fixed by f89d004 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
when adding selected attribute to an option tag the formControl attribute on the select tag prevents the option from being selected even though the dom has a selected value.
Expected behavior
would like when selected value is set to have that option set in the select drop down
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
n/a
Please tell us about your environment:
webstrom, mac os, npm
2.3.1
all
typescript
node --version
=6.2.2
The text was updated successfully, but these errors were encountered: