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([ ->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'),
]); ]);