Files
animethemes-server/app/Filament/Components/Fields/Slug.php
T

22 lines
347 B
PHP

<?php
declare(strict_types=1);
namespace App\Filament\Components\Fields;
class Slug extends TextInput
{
/**
* Initial setup for the field.
*/
protected function setUp(): void
{
parent::setUp();
$this->required();
$this->maxLength(192);
$this->unique();
$this->alphaDash();
}
}