This commit is contained in:
Russ Long 2022-08-07 13:23:18 -04:00
parent b2c91d16f7
commit e0182f4127

View File

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