v5 update fixes
This commit is contained in:
+4
-4
@@ -3,7 +3,7 @@
|
||||
namespace App\Filament\Resources\VehiclesResource\RelationManagers;
|
||||
|
||||
use Filament\Forms;
|
||||
use Filament\Forms\Form;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Resources\RelationManagers\RelationManager;
|
||||
use Filament\Tables\Table;
|
||||
use Filament\Tables;
|
||||
@@ -18,10 +18,10 @@ class VehicleScoresRelationManager extends RelationManager
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'id';
|
||||
|
||||
public function form(Form $form): Form
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
return $form
|
||||
->schema([
|
||||
return $schema
|
||||
->components([
|
||||
Forms\Components\Select::make('judge')
|
||||
->label('Judge')
|
||||
->options(Judges::all()->pluck('judge_number', 'id'))
|
||||
|
||||
Reference in New Issue
Block a user