sort test
This commit is contained in:
parent
eebffa5fa2
commit
7d4964e268
@ -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'),
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user