From 9ffb0cafc588a7f8b0d188ceb2d396d52cf9ef4f Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 28 Aug 2022 15:12:08 -0400 Subject: [PATCH] fix relation --- .../RelationManagers/VehicleTypeRelationManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleTypeRelationManager.php b/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleTypeRelationManager.php index 716f98d..e35fdfc 100644 --- a/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleTypeRelationManager.php +++ b/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleTypeRelationManager.php @@ -20,7 +20,7 @@ class VehicleTypeRelationManager extends RelationManager { return $form ->schema([ - Forms\Components\TextInput::make('type') + Forms\Components\TextInput::make('category_name') ->required() ->maxLength(255), ]); @@ -30,7 +30,7 @@ class VehicleTypeRelationManager extends RelationManager { return $table ->columns([ - Tables\Columns\TextColumn::make('type'), + Tables\Columns\TextColumn::make('category_name'), ]) ->filters([ //