As I am new to react js. I have a question in concatenation of two switch cases. I mean for example if I select the cotton in dropdown list from case 1 and that should automatically take the value from the case 2 as white color. For example:
case "select1":
let options=[
"White",
"Blue",
"Aqua",
"Aquamarine",
"Azure",
"Beige"]
case "select2":
let option=[
"cotton fabric",
"silk fabric",
....]