© 2026 Hedgehog Software, LLC
public function getSteps(): array { return [ Step::make('Step A') ->schema([ TextInput::make('stepa') ]), Step::make('Step B') ->schema([ TextInput::make('stepb') ]), Step::make('Step C') ->schema([ Livewire::make(AppointmentSlotField::class) ]), ]; }
protected function mutateFormDataBeforeCreate(array $data): array { dd($data); }
array:2 [▼ // app\Filament\Resources\AppointmentResource\Pages\CreateAppointment.php:24 "stepa" => "1" "stepb" => "1" ]
Livewire::make(AppointmentSlotField::class)
array:3 [▼ // app\Filament\Resources\AppointmentResource\Pages\CreateAppointment.php:24 "stepa" => "1" "stepb" => "1" "stepc" => "1" ]
<?php namespace App\Livewire; use Illuminate\Contracts\View\View; use Livewire\Component; class AppointmentSlotField extends Component { public function render(): View { return view('livewire.appointment-slot-field'); } }