I have 3 dropdown’s with different data type’s
for example :
dropdown1 = “color” data type (Red,Blue,Green)
dropdown2= “size” data type ( S,M,L)
dropdown3= “fabric” data type ( Leather ,Satin ,Linen)
i want to make a “custom state list” to “add and remove” what users have chosen from these dropdowns to custom state.
like when user select
dropdown1 = current value = Red
dropdown2 = current value =S
dropdown3 = current value =Leather
the custom state list will be (red, s, leather)
when user change dropdown1 = current value red to blue
will remove the previous value " red " and add " blue "
to become the custom state list is (blue, s, leather)
is anybody can figure out how to make this work?