From cb7008a74f18cf9cb6ff00472a4f0f187a24357b Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 14 Aug 2022 11:13:50 -0400 Subject: [PATCH] fix veh score form --- app/Filament/Resources/VehicleScoresResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/VehicleScoresResource.php b/app/Filament/Resources/VehicleScoresResource.php index 820946e..c6355f8 100644 --- a/app/Filament/Resources/VehicleScoresResource.php +++ b/app/Filament/Resources/VehicleScoresResource.php @@ -36,7 +36,7 @@ class VehicleScoresResource extends Resource ->searchable(), Select::make('vehicle') ->label('Vehicle') - ->options(Vehicles::all()->pluck('owner', 'owner')) + ->options(Vehicles::all()->pluck('owner', 'id')) ->searchable(), TextInput::make('overall_score') ->label('Overall Score'),