Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 23, 2024
1 parent 59756d1 commit 60d6d8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions web/app/Livewire/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
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;
Expand Down Expand Up @@ -64,6 +65,8 @@ class Installer extends Page
'3.4'
];

public $enable_email_server = true;

public function form(Form $form): Form
{

Expand Down Expand Up @@ -249,6 +252,9 @@ public function form(Form $form): Form
->description('Configure your email server')
->schema([

Toggle::make('enable_email_server')
->label('Enable Email Server')
->default(true),


])->afterValidation(function () {
Expand Down
2 changes: 1 addition & 1 deletion web/resources/views/livewire/installer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</span>--}}
</div>

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

Expand Down

0 comments on commit 60d6d8b

Please sign in to comment.