20 lines
410 B
PHP
20 lines
410 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Workspaces\Schemas;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class WorkspaceForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')
|
|
->required(),
|
|
TextInput::make('slug'),
|
|
]);
|
|
}
|
|
}
|