mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
19 lines
295 B
PHP
19 lines
295 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Components\Fields;
|
|
|
|
class Slug extends TextInput
|
|
{
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->required();
|
|
$this->maxLength(192);
|
|
$this->unique();
|
|
$this->alphaDash();
|
|
}
|
|
}
|