F
Filament14mo ago
SLy

View title of a modal infolist

The offers are inside a relation manager having Customer as parent, when I click view on the offer I need to change the title of the modal that is opened for the infolist defined inside the Offers relation manager? I want to modify the default "View offer" label that is set by default when I open the infolist modal, I could not find any method in docs to do that.
Solution:
Can't you just use modalHeading like ->modalHeading(__('abc'))
Jump to solution
5 Replies
SLy
SLyOP13mo ago
Nobody knows this? Seems quite a common situation.
Solution
Vp
Vp13mo ago
Can't you just use modalHeading like ->modalHeading(__('abc'))
SLy
SLyOP13mo ago
Where would I use that inside the infolist? There is no Filament\Infolists\Infolist::modalHeading method.
Vp
Vp13mo ago
In view action inside relation manager
SLy
SLyOP13mo ago
Yes, I was looking in wrong place, no sure how I missed that, was an easy one. Thank you!
Want results from more Discord servers?
Add your server