27 lines
655 B
PHP
27 lines
655 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Bookmakers\Schemas;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class BookmakerForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')
|
|
->required(),
|
|
TextInput::make('icon')
|
|
->required(),
|
|
TextInput::make('baid')
|
|
->numeric()
|
|
->default(0),
|
|
TextInput::make('txid')
|
|
->numeric()
|
|
->default(0),
|
|
]);
|
|
}
|
|
}
|