As a hack, I'm creating a new "list" component and passing it to the "select" component to list down all the values, and dispatch a listener to change the value outside the component when the selected value is clicked again.
(P.S. I haven’t tried it out yet)
Is there an alternate solution where I can list down all the items in the list dropdown for multi-select, and make it selected when clicked the first time, and unselected when clicked for the second time?
As a hack, I'm creating a new "list" component and passing it to the "select" component to list down all the values, and dispatch a listener to change the value outside the component when the selected value is clicked again. (P.S. I haven’t tried it out yet)
Is there an alternate solution where I can list down all the items in the list dropdown for multi-select, and make it selected when clicked the first time, and unselected when clicked for the second time?