I need to create a dynamic parent-child dropdown, where I can create new parent objects and new child objects and set relationship between them via interface. Here is an example: I can create a new Catalog, Then I can create a new ProductType, and finally several Products, associated with this particular ProductType. Now on the Catalog page I can see a list of CatalogType objects, and display a list of Products inside each ProductType. But instead of the list of Products in ProductType, I need to select only one product from the list using a dropdown. How can I implement it? Thank you in advance!
asked
Maxim Velichkin
1 answers
0
Hi Maxim,
What you could do is add an extra 1-on-1 association between ProductType and Product and use that association it the reference selector. I would add _Selected to the association to make this more obvious.