Create
protected function mutateFormDataBeforeCreate(array $data): array { $data['team_id'] = auth()->user()?->currentTeam?->id; return $data; }