How to exclude dropdown option after it was used?

0
There is a list of e.g. products, where I can create a new product, and fill in some details about it. The list is editable, so for each item, it shows editable input and dropdown fields.  The challenge is – afterI selected a product from the dropdown, it should be excluded from the available dropdown options when I create a new list item. How can it be done if product is an enumerator? How can it be done if product is a reference-selector?
asked
2 answers
2

You can not really limit the selections if it is an enumeration. You may be able to do this with a widget from the appstore or with some custom built widget, but there is no out of the box solution.

answered
2

On a reference selector, you can constraint the selectable objects in the properties. You can use xpath or microflow. Please not, that xpath will only work, if your stuff is stored to the database. Otherwise, you need to use microflow to create the list of selectables.

Depending on the solution you chose, you need to refresh the page when you make a selection (onchange event) so that the list of selectable objects gets refreshed as well.

answered