#Using relationship field inside of a custom component

2 messages · Page 1 of 1 (latest)

lament stump
#

I'm trying to create a custom array field component inside of my orders collection. Each order has an array field of lineItems but I want to customize the way is looks and operates for the end user. Each row that gets generated should allow the user to select an item type, an item from the items collection (filtered by the itemType) and then the quantity for that item. I have the table, I can add and remove rows. I tried using the RelationshipField comonenent but it's not saving the values properly. Has anyone done this before? Is it possible?