Commit 769e204
authored
fix(material/select): active class not removed from reset option when new value is assigned through form control (#26414)
Fixes that we weren't removing the active class from a reset option when a new value is assigned through a `FormControl`. The problem was that we were removing the active classes only from selected options, but a reset option is never selected.
Fixes #26390.1 parent 85dad35 commit 769e204
File tree
3 files changed
+39
-3
lines changed- src/material
- legacy-select
- select
3 files changed
+39
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3361 | 3361 | | |
3362 | 3362 | | |
3363 | 3363 | | |
| 3364 | + | |
3364 | 3365 | | |
3365 | 3366 | | |
3366 | 3367 | | |
3367 | 3368 | | |
3368 | 3369 | | |
3369 | | - | |
| 3370 | + | |
| 3371 | + | |
3370 | 3372 | | |
3371 | 3373 | | |
3372 | 3374 | | |
| |||
3394 | 3396 | | |
3395 | 3397 | | |
3396 | 3398 | | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
3397 | 3415 | | |
3398 | 3416 | | |
3399 | 3417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3406 | 3406 | | |
3407 | 3407 | | |
3408 | 3408 | | |
| 3409 | + | |
3409 | 3410 | | |
3410 | 3411 | | |
3411 | 3412 | | |
3412 | 3413 | | |
3413 | 3414 | | |
3414 | | - | |
| 3415 | + | |
| 3416 | + | |
3415 | 3417 | | |
3416 | 3418 | | |
3417 | 3419 | | |
| |||
3439 | 3441 | | |
3440 | 3442 | | |
3441 | 3443 | | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
| 3459 | + | |
3442 | 3460 | | |
3443 | 3461 | | |
3444 | 3462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
840 | | - | |
| 840 | + | |
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| |||
0 commit comments