Select - Getting Label based on Foreign Key
Hi!
I have a resource
I'd like to introduce a <Select/> to choose a locationProduct. However, the label is currently productID.
Is there a preferred way for me to reference the resource product for each productID in locationProducts to retrieve product's name to use as value?
I have a resource
locationProducts, which maps a 'locationID' to a 'productID' from another resource called product.I'd like to introduce a <Select/> to choose a locationProduct. However, the label is currently productID.
Is there a preferred way for me to reference the resource product for each productID in locationProducts to retrieve product's name to use as value?
