Commit 93cf295
fix(combo,select): reset to INITIAL state on control.disable() when touched/dirty (#17262)
* fix(combo,select): reset to INITIAL state on control.disable() when touched/dirty
Closes #17234
Replace `!this.disabled` with `!this.ngControl.disabled`, which reflects
the live control status and is already `true` at the time
`statusChanges` emits. This matches the pattern used by IgxTimePicker
and IgxDateRangePicker.
* Potential fix for pull request finding 'Semicolon insertion'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Potential fix for pull request finding 'Semicolon insertion'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>1 parent e95d9fc commit 93cf295
5 files changed
Lines changed: 111 additions & 2 deletions
File tree
- projects/igniteui-angular
- combo/src/combo
- select/src/select
- simple-combo/src/simple-combo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
| |||
1313 | 1314 | | |
1314 | 1315 | | |
1315 | 1316 | | |
1316 | | - | |
| 1317 | + | |
1317 | 1318 | | |
1318 | 1319 | | |
1319 | 1320 | | |
| |||
1323 | 1324 | | |
1324 | 1325 | | |
1325 | 1326 | | |
| 1327 | + | |
1326 | 1328 | | |
1327 | 1329 | | |
1328 | 1330 | | |
| |||
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3345 | 3345 | | |
3346 | 3346 | | |
3347 | 3347 | | |
| 3348 | + | |
3348 | 3349 | | |
3349 | 3350 | | |
3350 | 3351 | | |
| |||
3375 | 3376 | | |
3376 | 3377 | | |
3377 | 3378 | | |
| 3379 | + | |
3378 | 3380 | | |
3379 | 3381 | | |
3380 | 3382 | | |
| |||
3407 | 3409 | | |
3408 | 3410 | | |
3409 | 3411 | | |
| 3412 | + | |
3410 | 3413 | | |
3411 | 3414 | | |
3412 | 3415 | | |
| |||
3439 | 3442 | | |
3440 | 3443 | | |
3441 | 3444 | | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
| 3459 | + | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
| 3467 | + | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
3442 | 3486 | | |
3443 | 3487 | | |
3444 | 3488 | | |
| |||
3458 | 3502 | | |
3459 | 3503 | | |
3460 | 3504 | | |
| 3505 | + | |
3461 | 3506 | | |
3462 | 3507 | | |
3463 | 3508 | | |
| |||
3473 | 3518 | | |
3474 | 3519 | | |
3475 | 3520 | | |
| 3521 | + | |
3476 | 3522 | | |
3477 | 3523 | | |
3478 | 3524 | | |
| |||
3522 | 3568 | | |
3523 | 3569 | | |
3524 | 3570 | | |
| 3571 | + | |
3525 | 3572 | | |
3526 | 3573 | | |
3527 | 3574 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
690 | 711 | | |
691 | 712 | | |
692 | 713 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| |||
539 | 540 | | |
540 | 541 | | |
541 | 542 | | |
542 | | - | |
| 543 | + | |
| 544 | + | |
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2566 | 2566 | | |
2567 | 2567 | | |
2568 | 2568 | | |
| 2569 | + | |
2569 | 2570 | | |
2570 | 2571 | | |
2571 | 2572 | | |
2572 | 2573 | | |
2573 | 2574 | | |
2574 | 2575 | | |
2575 | 2576 | | |
| 2577 | + | |
2576 | 2578 | | |
2577 | 2579 | | |
2578 | 2580 | | |
| |||
2685 | 2687 | | |
2686 | 2688 | | |
2687 | 2689 | | |
| 2690 | + | |
2688 | 2691 | | |
2689 | 2692 | | |
2690 | 2693 | | |
| |||
2844 | 2847 | | |
2845 | 2848 | | |
2846 | 2849 | | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
2847 | 2884 | | |
2848 | 2885 | | |
2849 | 2886 | | |
| |||
0 commit comments