Skip to content

How prevent values duplication in table ? #196

Answered by ansibleguy76
ansibleguy77 asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this is what you want. I used several expressions for ease of reading, but you can merge them if you want.
Don't worry about speed, all the expressions are run local, so speed will be okay.
Let's go over the steps

First I define a list machineList (with an expression) => you could load this from rest, from a file, ...
This holds our list of machines.

Then I make 2 expressions : one making a list of the ones in your table (usedMachinelist), and then the ones not yet picked in the table (unusedMachinelist) => by substracting the used ones from the list.

We make a table field machines

The table field machine uses the from property to use a dropdown list from an outside epxression …

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@ansibleguy76
Comment options

@ansibleguy77
Comment options

@ansibleguy77
Comment options

@ansibleguy77
Comment options

@ansibleguy76
Comment options

Comment options

You must be logged in to vote
1 reply
@ansibleguy77
Comment options

Answer selected by ansibleguy76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants