28 lines
752 B
PHP
28 lines
752 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Changes\Schemas;
|
|
|
|
use Filament\Forms\Components\Select as FormSelect;
|
|
use Filament\Forms\Components\Textarea;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class ChangeForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
Textarea::make('note')
|
|
->label('Note')
|
|
->required(),
|
|
FormSelect::make('type')
|
|
->label('Type')
|
|
->options([
|
|
'go-live' => 'Go Live',
|
|
'general' => 'General',
|
|
])
|
|
->default('go-live')
|
|
->required(),
|
|
]);
|
|
}
|
|
}
|