From cf34732cc30380b78c912086ca044fed79a4e4ab Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Mon, 12 Feb 2024 16:25:33 +0300 Subject: [PATCH 1/2] fix getting state path for validation --- resources/views/quantity.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/quantity.blade.php b/resources/views/quantity.blade.php index 994af88..14961ee 100644 --- a/resources/views/quantity.blade.php +++ b/resources/views/quantity.blade.php @@ -100,7 +100,7 @@ :suffix-actions="$suffixActions" :suffix-icon="$suffixIcon" :suffix-icon-color="$getSuffixIconColor()" - :valid="! $errors->has($statePath)" + :valid="! $errors->has($getStatePath)" :attributes=" \Filament\Support\prepare_inherited_attributes($getExtraAttributeBag()) ->class(['']) From 7374150f6941c3982359d7eec22000c2b7c4dff2 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Mon, 12 Feb 2024 16:25:44 +0300 Subject: [PATCH 2/2] Update quantity.blade.php --- resources/views/quantity.blade.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/views/quantity.blade.php b/resources/views/quantity.blade.php index 14961ee..5296fc1 100644 --- a/resources/views/quantity.blade.php +++ b/resources/views/quantity.blade.php @@ -101,10 +101,6 @@ :suffix-icon="$suffixIcon" :suffix-icon-color="$getSuffixIconColor()" :valid="! $errors->has($getStatePath)" - :attributes=" - \Filament\Support\prepare_inherited_attributes($getExtraAttributeBag()) - ->class(['']) - " >