formie icon indicating copy to clipboard operation
formie copied to clipboard

Subset of entries for selection in drop down

Open jishi opened this issue 3 months ago • 3 comments

What are you trying to do?

I'm trying to make a drop down field that is populated from a channel, but I would like to limit it based of some field existance/value on the entries, and not the full channel list. I haven't found a way to do that.

What's your proposed solution?

I'm not sure what the best solution is here. Allowing one to write a query for selection might not be very user friendly, but powerful.

Also, of there is some filtering possible as part of rendering, that might be fine too, then adding some metadat/attributes to the field could be the basis of that filtering, however I haven't found any documentation supporting that.

Additional context

My client has a channel that is filled with stallions. They want to have a form where they can select amongst the stallions, but the available selections is a subset of all stallions.

jishi avatar Mar 25 '24 20:03 jishi