From e97a80bfdb7d3d847dc4160afa28a2b87f019243 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 29 Jul 2025 14:48:23 +0500 Subject: [PATCH] Enhance SolutionResource form functionality: add debounce to slug generation for improved user experience during input, and adjust layout in show.blade.php by reducing column width for better content presentation. --- app/Filament/Resources/SolutionResource.php | 3 ++- .../web/pages/our-solutions/show.blade.php | 20 +++++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/app/Filament/Resources/SolutionResource.php b/app/Filament/Resources/SolutionResource.php index cc2b37c..1c6ceec 100644 --- a/app/Filament/Resources/SolutionResource.php +++ b/app/Filament/Resources/SolutionResource.php @@ -27,7 +27,8 @@ class SolutionResource extends Resource ->required() ->maxLength(255) ->reactive() - ->afterStateUpdated(fn (string $operation, $state, Forms\Set $set) => $operation === 'create' ? $set('slug', Str::slug($state)) : null), + ->afterStateUpdated(fn (string $operation, $state, Forms\Set $set) => $operation === 'create' ? $set('slug', Str::slug($state)) : null) + ->debounce('1000ms'), Forms\Components\TextInput::make('slug') ->required() diff --git a/resources/views/web/pages/our-solutions/show.blade.php b/resources/views/web/pages/our-solutions/show.blade.php index 3ebfbf0..0375fce 100644 --- a/resources/views/web/pages/our-solutions/show.blade.php +++ b/resources/views/web/pages/our-solutions/show.blade.php @@ -22,11 +22,23 @@
-
+
+
+
+

Download

+ +
+
+
+
- image -

Construction Planning

-

We pride ourselves on delivering high-quality construction services tailored to meet the unique needs of our clients. With years of experience in the industry, our team of skilled professionals is dedicated to bringing your vision to life. Whether you are looking to build a new structure, renovate an existing space, or need specialized construction services, we are here to help.

+

{{ $solution->title }}

+

{{ $solution->title_description }}

With years of industry experience, our team handles every aspect of the construction process, your project runs smoothly and efficiently. We prioritize open communication, timely delivery, and quality workmanship to exceed your expectations. Trust us to provide innovative solutions that.

Building with Unmatched Excellence

Transform your existing space with our renovation and remodeling services. Whether you want to update your kitchen, bathroom, or entire home, we bring innovative solutions to enhance your living space. Our team has extensive experience in commercial construction, including office buildings, retail spaces, and industrial facilities. We work closely with you to ensure your project align.