I have this list of collections:
Fruits, Vegetables, Sweets, ...

Each have their own entry:
Fruits: banana, strawberry, orange, ..
Vegetables: carrots, cabbage, .. and so on.

Each entry maps its ID to the carts collection.

So in the end I have a yaml which looks like:
date: xx-xx-xxxx
order: xxyyzz2019
collection_name: Fruits
collection_entry_id: xxxx-xxxx-xxxx-xxxx

How can I build the fieldset so it is dynamically set to the right item? Using the standard collection field type I have to manually enter the collection name. My first thought was to create multiple field types each mapped to a collection and use the conditional show logic, but it doesn't seem really clean.