I have following array of string used in select element (multi select) options.
let array = ["one", "two", "three"];
Also I have following Object.
{ "one" : ['apple','orange','banana'], "two" : ['cucumber','onion'], "three" : ['potato','radish','carot']};
I select one & two and I want to combine
['apple','orange','banana'] and ['cucumber','onion'] in another select dropdown.
['apple','orange','banana','cucumber','onion']