feat(LRL App): init V0
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\MemberGroups\Schemas;
|
||||
|
||||
use App\Models\MemberGroup;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class MemberGroupForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
TextInput::make('name')
|
||||
->label(MemberGroup::getAttributeLabel('name'))
|
||||
->required(),
|
||||
TextInput::make('description')
|
||||
->label(MemberGroup::getAttributeLabel('description'))
|
||||
->default(null),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user