I am trying to make a multiline dropdown menu with multiple options, what I currently have is a line of code that has only one dependency, 'M100007' I want to add more. Explained in the example below.
This is the line of code :
selectedBusLine1 = newValue == 'M100007' ? businessLine2_01 : businessLine2_02;
I want to add more "newValue" values and not just one.
For example :
if "M100007" is selected then businessLine2_01,
if "M100008" is selected then businessLine2_02,
if "M100009" is selected then businessLine2_03,
if "M100010" is selected then businessLine2_04,
if "M100011" is selected then businessLine2_05,
if "M100012" is selected then businessLine2_06,
and so on...
Thank You for your help