sort test

This commit is contained in:
Russ Long 2022-08-07 13:26:20 -04:00
parent eebffa5fa2
commit 7d4964e268

View File

@ -33,7 +33,7 @@ class PeoplesChoiceResource extends Resource
->schema([ ->schema([
Select::make('vehicle') Select::make('vehicle')
->label('Vehicle') ->label('Vehicle')
->options(Vehicles::all()->sortBy('owner')->pluck('owner', 'id')) ->options(Vehicles::all()->pluck('owner', 'id')->sortBy('owner'))
->searchable(), ->searchable(),
TextInput::make('pc_count'), TextInput::make('pc_count'),
]); ]);