With Filament - you can easily give your users a chance to see wizard form data by adding a summary page at the end.
First, the CreateRecord\Concerns\HasWizard
trait must be used to add a wizard form on the Create page.
use Filament\Resources\Pages\CreateRecord; class CreateTask extends CreateRecord{ use CreateRecord\Concerns\HasWizard; protected static string $resource = TaskResource::class;}
Steps for the wizard are added in the protected getSteps()
method on the Create page class.
use Filament\Forms;use App\Models\User;use App\Filament\Resources\TaskResource;use Filament\Notifications\Notification;use Filament\Resources\Pages\CreateRecord; class CreateTask extends CreateRecord{ use CreateRecord\Concerns\HasWizard; protected static string $resource = TaskResource::class; protected function getSteps(): array { return [ Forms\Components\Wizard\Step::make('Name') ->schema([ Forms\Components\TextInput::make('name') ->required(), ]), Forms\Components\Wizard\Step::make('Due Date') ->schema([ Forms\Components\DatePicker::make('due_date') ->required(), ]), Forms\Components\Wizard\Step::make('Notify User') ->schema([ Forms\Components\Select::make('user_id') ->required() ->label('User') ->options(User::whereNot('id', 1)->pluck('name', 'id')), ]), Forms\Components\Wizard\Step::make('Summary') ->schema([// ...