This commit is contained in:
Bozhidar 2024-04-23 17:11:38 +03:00
parent 59756d1a0a
commit 60d6d8b339
2 changed files with 7 additions and 1 deletions

View file

@ -16,6 +16,7 @@ use Filament\Forms\Components\Radio;
use Filament\Forms\Components\Section;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Toggle;
use Filament\Forms\Components\Wizard;
use Filament\Forms\Form;
use Filament\Forms\Get;
@ -64,6 +65,8 @@ class Installer extends Page
'3.4'
];
public $enable_email_server = true;
public function form(Form $form): Form
{
@ -249,6 +252,9 @@ class Installer extends Page
->description('Configure your email server')
->schema([
Toggle::make('enable_email_server')
->label('Enable Email Server')
->default(true),
])->afterValidation(function () {

View file

@ -7,7 +7,7 @@
</span>--}}
</div>
<div class="w-[50rem] mt-8">
<div class="w-[70rem] mt-8">
{{$this->form}}
</div>