02-01-2019 12:42
02-01-2019 12:42
Need assistance with the Select Settings component. I am not sure if it is possible to do at all....
In Settings, I have constructed an array with a three select components:
const selections = [ {name:"One"}, {name:"Two"}, {name:"Three"} ];
<Select
label={`First Selection`}
settingsKey="first"
options={selections}
/>
<Select
label={`Second Selection`}
settingsKey="second"
options={selections}
/>
<Select
label={`Third Selection`}
settingsKey="third"
options={selections}
/>
What I would like to see happen is if the first selection is "One", then when opening the second selection, "One" is not shown or grayed out so it cannot be selected a second time.
Any help is appreciated.