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