mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-05 22:03:40 +01:00
22 lines
347 B
PHP
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();
|
|
}
|
|
}
|