try ordering

This commit is contained in:
Russ Long 2022-08-07 13:21:50 -04:00
parent 0133c405a5
commit b2c91d16f7

View File

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