I am working with a multi-select dropdown menu that includes an option labeled "ALL" which, when selected, chooses all available options in the list. My goal is to display "ALL" in the view when this option is chosen or when the user manually selects all the options. In addition, I want the value in the FormControl
to be set as ALL
if this option is chosen, otherwise it should reflect the user's selections.
To experiment with a potential solution, I have created a project on Stackblitz, which can be accessed through this link.
Any insights on the best approach to achieve this? I understand that typically, dropdown menus display the label of the selected option
in the view.