Skip to content

Commit 74062c9

Browse files
authored
Update form method to use Schema instead of Form in ListOoklaServers (alexjustesen#2551)
Co-authored-by: Alex Justesen <[email protected]>
1 parent c4e2e7f commit 74062c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/Filament/Pages/Tools/ListOoklaServers.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
use Filament\Forms\Components\Textarea;
88
use Filament\Forms\Concerns\InteractsWithForms;
99
use Filament\Forms\Contracts\HasForms;
10-
use Filament\Forms\Form;
1110
use Filament\Notifications\Notification;
1211
use Filament\Pages\Page;
12+
use Filament\Schemas\Schema;
1313

1414
class ListOoklaServers extends Page implements HasForms
1515
{
@@ -69,10 +69,10 @@ public function fetchServers(): void
6969
}
7070
}
7171

72-
public function form(Form $form): Form
72+
public function form(Schema $schema): Schema
7373
{
74-
return $form
75-
->schema([
74+
return $schema
75+
->components([
7676
Textarea::make('servers')
7777
->label(false)
7878
->rows(20)

0 commit comments

Comments
 (0)