Enhance ManageSolutions and ManageSuccess forms: replace icon_class text input with a searchable select component in ManageSolutions, add file upload for success images in ManageSuccess, and update SuccessSettings to include success_image property. Adjust related database migrations and views for dynamic content display.

This commit is contained in:
nurmuhammet committed 2025-07-28 18:28:29 +05:00
1 parent d316f392bc
commit 189cb53856
7 files changed
+282 -9

No files matched your search

+6
View File
@@ -8,6 +8,7 @@
use Filament\Forms\Components\Section;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\FileUpload;
use Filament\Forms\Form;
use Filament\Pages\SettingsPage;
use Illuminate\Contracts\Support\Htmlable;
@@ -50,6 +51,11 @@ public function form(Form $form): Form
->maxLength(255)
->url(),
])->columns(2),
FileUpload::make('success_image')
->label('Image')
->directory('cms')
->image()
->required(),
]),
Section::make('Skill Items')
->description('Manage the skill items with their names and percentages.')