Home > Forum > Forms > Picker - filter unique values only

Picker - filter unique values only
0

Hi All,

We are implementing a workflow for payment list. We are using picker to add unpaid invoices to a list, but default behavior is that I can add the same values over and over.
Is it possible to limit/filter picker results to items that were not yet added?

MVP

Hi,

I hope it's not to late.

You can achieve this by storing the already selected ids in a (technical) field and adding a where condition, that these are not part of the data source.

You can see in my attached screenshot, that 2,3 and 6 have been selected and when I wanted to select 2 again I got an "No matches found" error (1). The selected values have been stored in the field (2).
I stored them there using the Style and behavior of the picker column in the item list (3).
The SQL query excludes those ids from the result set (4).

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.