F
Filament12mo ago
Ahmad

relation ship undefined method

error Call to undefined method App\Models\Test01::users() test01Resource
use App\Filament\Resources\test01Resource\RelationManagers\UsersRelationManager;
use App\Filament\Resources\test01Resource\RelationManagers\UsersRelationManager;
inside
Select::make('Bedrijf_user')->relationship('users', 'name')->searchable()->required(),
Select::make('Bedrijf_user')->relationship('users', 'name')->searchable()->required(),
public static function getRelations(): array {return [UsersRelationManager::class,];}
public static function getRelations(): array {return [UsersRelationManager::class,];}
and here are the file name that i am using
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server