

product_name field to my pivot table, and added this to my filament form, which gets set in mutateRelationshipDataBeforeCreateUsing(). Then I show the Select relationship product_id field or the product_name conditionally, based on the $record and the status_id. This works for me, as the order items product fields should not be editable after an order deadline has passed, so the order items become disabled informative fields in the edit form.