wip fix
This commit is contained in:
1 parent
9bcd4432c6
commit
6f92f9e1d5
1209 files changed
+220940
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Clusters\Grapper\Resources\Supervisors\Schemas;
|
||||
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class SupervisorForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
Select::make('provider_id')
|
||||
->relationship('provider', 'name')
|
||||
->required()
|
||||
->preload(),
|
||||
Select::make('sport_id')
|
||||
->relationship('sport', 'name')
|
||||
->nullable(),
|
||||
|
||||
// TextInput::make('sleep')->default(30),
|
||||
// TextInput::make('maxsconds')->label('Seconds till throwing an error')->default(1800),
|
||||
// Section::make('Run processes paralell for speed')
|
||||
// ->description('Set start and end days if more processes grap the same data')
|
||||
// ->schema([
|
||||
// TextInput::make('days_from')->columns(1)->default(0),
|
||||
// TextInput::make('days_to')->columns(1)->default(1),
|
||||
// ])->columns(2)->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user