19 lines
470 B
PHP
19 lines
470 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Filament\Resources\Divisions\Schemas;
|
||
|
|
|
||
|
|
use Filament\Forms\Components\Textarea;
|
||
|
|
use Filament\Forms\Components\TextInput;
|
||
|
|
use Filament\Schemas\Schema;
|
||
|
|
|
||
|
|
class DivisionForm
|
||
|
|
{
|
||
|
|
public static function configure(Schema $schema): Schema
|
||
|
|
{
|
||
|
|
return $schema->components([
|
||
|
|
TextInput::make('name')->label('Nama')->required(),
|
||
|
|
Textarea::make('description')->label('Deskripsi')->rows(3)->columnSpanFull(),
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|