I was recently working on a project that involved using mat-select elements. In this project, I encountered a specific requirement where I needed to achieve the following two tasks:
- When the 'all' option is selected in either of the mat-select elements, all other options should be disabled.
- When an option is selected in one mat-select element, that same option should be disabled in the other mat-select element. For reference, here is the stackblitz link to the project
Thank you in advance for any assistance provided!