nova-inline-relationship icon indicating copy to clipboard operation
nova-inline-relationship copied to clipboard

hasOne behavior

Open bilogic opened this issue 3 years ago • 0 comments

Hi,

I have this: sales_orders hasOne customer, i.e. customers.sales_order_id points to sales_orders.id So when I add HasOne::make("customer")->inline() in the SalesOrder Nova resource, wouldn't it make more sense to show the customer's name in the index view instead of showing 1 customer?

sales_orders and customers may not be the best example here, but my point is, why not show the contents instead of just the count, since it hasOne only. Thank you.

bilogic avatar Aug 16 '21 11:08 bilogic