21 lines
453 B
PHP
21 lines
453 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Groups\Schemas;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class GroupForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')
|
|
->required(),
|
|
TextInput::make('description')
|
|
->label('Beschreibung'),
|
|
]);
|
|
}
|
|
}
|