How to add text field in relationship manager header?
Hi, I have a
rooms
relationship and I want to have a general description for all rooms. general_description
fields is part of belongs to model but I want to show it at top of relationship manager. Is there a way to achieve this?5 Replies
I wonder if the
panels::resource.relation-manager.before
render hook can be used? https://filamentphp.com/docs/3.x/support/render-hooks#panel-builder-render-hooksI can render blade or livewire using hook. But how field will attach to the current model in edit?
wire:model="data.your_fields_key"
Yeah
You could try emitting an event from the RM that updates a hidden field on the form