Player mongodb
This commit is contained in:
1 parent
b362fdc15f
commit
8370836efd
11 files changed
+409
-2
No files matched your search
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Clusters\StaticData\Resources\UbPlayers\Schemas;
|
||||
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Components\Grid;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class UbPlayerForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
Grid::make([
|
||||
'default' => 2,
|
||||
'xl' => 4,
|
||||
])
|
||||
->schema([
|
||||
TextInput::make('id_giocatore')->required(),
|
||||
TextInput::make('giocatore')->required(),
|
||||
TextInput::make('nome_completo'),
|
||||
DatePicker::make('data_di_nascita'),
|
||||
TextInput::make('altezza'),
|
||||
TextInput::make('nazionalita'),
|
||||
TextInput::make('posizione'),
|
||||
TextInput::make('sport_radar_id'),
|
||||
TextInput::make('id_squadra_tm'),
|
||||
TextInput::make('rigorista'),
|
||||
TextInput::make('national_team_id'),
|
||||
DatePicker::make('data_aggiornamento'),
|
||||
TextInput::make('league_code'),
|
||||
TextInput::make('team_code'),
|
||||
TextInput::make('team_name'),
|
||||
]),
|
||||
|
||||
])->columns(1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user