mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
19 lines
361 B
PHP
19 lines
361 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Components\Fields;
|
|
|
|
use App\Filament\StateCasts\UriStateCast;
|
|
use Filament\Forms\Components\TextInput as BaseTextInput;
|
|
|
|
class TextInput extends BaseTextInput
|
|
{
|
|
public function uri(): static
|
|
{
|
|
return $this
|
|
->stateCast(resolve(UriStateCast::class))
|
|
->url();
|
|
}
|
|
}
|