Files
2026-05-20 18:25:15 +02:00

27 lines
685 B
PHP

<?php
namespace App\Filament\Resources\Platforms\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class PlatformForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->required()
->maxLength(100),
TextInput::make('slug')
->required()
->unique( ignoreRecord: true )
->maxLength(100),
TextInput::make('short_name')
->default(null)
->maxLength(30),
]);
}
}