From ae21c17f6008eb02db035935268ada45ecb2d0c3 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 7 Aug 2022 13:46:27 -0400 Subject: [PATCH] sort test --- app/Filament/Resources/PeoplesChoiceResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/PeoplesChoiceResource.php b/app/Filament/Resources/PeoplesChoiceResource.php index c6310ad..347864b 100644 --- a/app/Filament/Resources/PeoplesChoiceResource.php +++ b/app/Filament/Resources/PeoplesChoiceResource.php @@ -33,8 +33,8 @@ class PeoplesChoiceResource extends Resource ->schema([ Select::make('vehicle') ->label('Vehicle') - ->options(Vehicles::all()->pluck('owner', 'id')) - ->searchable(), + ->options(Vehicles::all()->pluck('owner', 'id')->sortBy('owner')), + //->searchable(), TextInput::make('pc_count'), ]); }