Files

24 lines
572 B
PHP
Raw Permalink Normal View History

2026-05-20 18:25:15 +02:00
<?php
namespace App\Filament\Resources\Modifications\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Schema;
class ModificationForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->maxLength(255)
->required(),
TextInput::make('slug')
->maxLength(255)
->unique(ignoreRecord: true)
->required(),
]);
}
}