Emit selected item on repeater items

Is there anyway to emit or remove the selected item on the next select field in the repeater field? I want it to be so that when user selected an item and add a repeater, it excluded on the next select field. To avoid redundancy of selected items in the repeater field.
4 Replies
Dan Harrin
Dan Harrin2y ago
its quite hard inside options() define a closure and use $get('../../repeter_name') then loop through the options that are already selected and exclude them make sure the selects are reactive()
Resonance
ResonanceOP2y ago
I kinda get the idea, but what is this ../../??
Dan Harrin
Dan Harrin2y ago
used to get a form field value outside of a repeater from inside it
toeknee
toeknee2y ago
Just like directory traversing

Did you find this page helpful?