mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 12:04:06 +08:00
Merge pull request #9674 from jvitasek/patch-3
Changed edit to save to match the Blade template
This commit is contained in:
@@ -33,7 +33,7 @@ class {{ class }} extends Component implements HasForms
|
||||
->model($this->record);
|
||||
}
|
||||
|
||||
public function edit(): void
|
||||
public function save(): void
|
||||
{
|
||||
$data = $this->form->getState();
|
||||
|
||||
@@ -44,4 +44,4 @@ class {{ class }} extends Component implements HasForms
|
||||
{
|
||||
return view('{{ view }}');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user