From d0a7cd3ef1e1dcbf6b98369961bd2ce47cc5a7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Thu, 30 Oct 2025 17:10:23 -0300 Subject: [PATCH] Refactor PageForm schema: Removed commented-out minHeight and placeholder properties for HTML and JSON fields in the PageForm schema, streamlining the code and improving readability. --- app/Filament/Admin/Resources/Pages/Schemas/PageForm.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Filament/Admin/Resources/Pages/Schemas/PageForm.php b/app/Filament/Admin/Resources/Pages/Schemas/PageForm.php index eba2489..b38f23f 100644 --- a/app/Filament/Admin/Resources/Pages/Schemas/PageForm.php +++ b/app/Filament/Admin/Resources/Pages/Schemas/PageForm.php @@ -286,8 +286,6 @@ class PageForm ->label(__('pages.section_data_value')) ->visible(fn (Get $get) => $get('type') === 'html') ->language(Language::Html) - // ->minHeight('300px') - // ->placeholder('
HTML kodu girin...
') ->live(onBlur: true) ->afterStateUpdated(fn ($state, callable $set) => $set('value', $state)) ->afterStateHydrated(function ($component, $state, Get $get) { @@ -308,8 +306,6 @@ class PageForm ->label(__('pages.section_data_value')) ->visible(fn (Get $get) => $get('type') === 'json') ->language(Language::Json) - //->minHeight('300px') - // ->placeholder('{"key": "value"}') ->live(onBlur: true) ->afterStateUpdated(fn ($state, callable $set) => $set('value', $state)) ->afterStateHydrated(function ($component, $state, Get $get) {