© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
trovster

Modal Action description & label not set

I am trying to set a action modal icon, description and submit action label, but only the heading seems to get applied.

Action::make('complete')
    ->label('Mark as Completed')
    ->form([
        TextInput::make('installed_by')
            ->label('Installed By')
            ->required(),
    ])
    ->color('success')
    ->icon('heroicon-m-check-circle')
    ->modalHeading('Mark Order as Completed')
    ->modalDescription('Please provide information and photograph.')
    ->modalSubmitActionLabel('Complete Order')
    ->modalIcon('heroicon-m-check-circle')
    ->requiresConfirmation()
    ->action(function (): void {}),
Action::make('complete')
    ->label('Mark as Completed')
    ->form([
        TextInput::make('installed_by')
            ->label('Installed By')
            ->required(),
    ])
    ->color('success')
    ->icon('heroicon-m-check-circle')
    ->modalHeading('Mark Order as Completed')
    ->modalDescription('Please provide information and photograph.')
    ->modalSubmitActionLabel('Complete Order')
    ->modalIcon('heroicon-m-check-circle')
    ->requiresConfirmation()
    ->action(function (): void {}),
image.png
Solution
Seems I have to move these after
requiresConfirmation()
requiresConfirmation()
as this sets defaults.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

import modal description
FilamentFFilament / ❓┊help
17mo ago
$set on modal form hint action
FilamentFFilament / ❓┊help
13mo ago
Modal Action not work
FilamentFFilament / ❓┊help
2y ago
Action modal not opening
FilamentFFilament / ❓┊help
3y ago