fix sort
This commit is contained in:
parent
b2c91d16f7
commit
e0182f4127
@ -33,7 +33,7 @@ class PeoplesChoiceResource extends Resource
|
|||||||
->schema([
|
->schema([
|
||||||
Select::make('vehicle')
|
Select::make('vehicle')
|
||||||
->label('Vehicle')
|
->label('Vehicle')
|
||||||
->options(Vehicles::all()->orderBy('owner', 'asc')->pluck('owner', 'id'))
|
->options(Vehicles::all()->sortBy('owner', 'asc')->pluck('owner', 'id'))
|
||||||
->searchable(),
|
->searchable(),
|
||||||
TextInput::make('pc_count'),
|
TextInput::make('pc_count'),
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user