In filament 3, how can I set custom view modal title? Like showing title "Member Info" instead of the default "View member".
Tables\Actions\ViewAction::make()->label('Member Info')
I'll figured it this out by opening the vendor/filament/actions/src/ViewAction.php
file.
You'll see that it uses a function called modalHeading
(which comes from vendor/filament/actions/src/Concerns/CanOpenModal.php
).
You can just override it:
->modalHeading('Member Info')
Then I also found it explained in the docs: