Merge branch 'main' into feature/dynamic-template-system

This commit is contained in:
Truncgil Technology
2025-11-04 22:13:18 +03:00
committed by GitHub
2 changed files with 1 additions and 20 deletions
-18
View File
@@ -115,8 +115,6 @@ use Filament\Schemas\Components\Section; // ✅ Doğru
use Filament\Schemas\Components\Grid; // ✅ Doğru
use Filament\Schemas\Components\Fieldset; // ✅ Doğru
use Filament\Schemas\Components\Flex; // ✅ Doğru
use Filament\Schemas\Components\Group; // ✅ Doğru - Schema içinde gruplamak için
use Filament\Schemas\Components\View; // ✅ Doğru - Blade view component
// Tabs components (ÖNEMLİ: Schemas namespace!)
use Filament\Schemas\Components\Tabs; // ✅ Doğru
@@ -132,22 +130,6 @@ use Filament\Infolists\Components\TextEntry;
use Filament\Infolists\Components\IconEntry;
use Filament\Infolists\Components\ImageEntry;
```
Get $get('data') şeklinde kullanma sakın bu sonsuz döngüye sebep olur. Aşağıdaki kullanımlar yanlış onun yerine
```php
$existingData = $get('data') ?? [];
```
```php
$existingData = $get('data') ?? [];
```
```php
$existingData = $get('data') ?? [];
```
onun yerineşu şekilde kullanılır.
```php
$existingData = $state?->section_data ?? [];
```
#### **Filament 4.x TAB KULLANIM KURALLARI (KRİTİK!):**
+1 -2
View File
@@ -13,10 +13,9 @@ class DatabaseSeeder extends Seeder
*/
public function run(): void
{
// Settings & Pages seed
// Settings seed
$this->call([
SettingSeeder::class,
PageSeeder::class,
]);
// User::factory(10)->create();