© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
10 replies
_andypeacock

Relationship manager modal not opening

Hi all,

I've got a relationship manager which does not open the modal when I try to add a new or existing relationship. There are no JS errors, and the livewire equest/response look OK, as attached.

The app works in local, not in production. I've done artisan optimize, rebuild npm, restarted octane.

I've enabled debug logging, and debugbar.

I've put cloudflare into development mode to prevent caching.

All with no change.

Anyone seen this before?


The relationship manager is:

class ActivitiesRelationManager extends RelationManager
{
    protected static string $relationship = 'activities';

    protected static ?string $title = 'Activities';

    protected static ?string $recordTitleAttribute = 'name';

    protected static ?string $inverseRelationship = 'checklists';

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name')
                    ->required()
                    ->maxLength(255),
                TextInput::make("description")
                    ->helperText("Do not enter credentials or sensitive information here."),
                TextInput::make("url")
                    ->label("URL"),
            ]);
    }

    public function table(Table $table): Table
    {
        ...
    }
}
class ActivitiesRelationManager extends RelationManager
{
    protected static string $relationship = 'activities';

    protected static ?string $title = 'Activities';

    protected static ?string $recordTitleAttribute = 'name';

    protected static ?string $inverseRelationship = 'checklists';

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name')
                    ->required()
                    ->maxLength(255),
                TextInput::make("description")
                    ->helperText("Do not enter credentials or sensitive information here."),
                TextInput::make("url")
                    ->label("URL"),
            ]);
    }

    public function table(Table $table): Table
    {
        ...
    }
}
image.png
Solution
Still nothing obvious. Went for the "big red button" approach: rm -rf vendor && composer install. That fixed it.

Coding is 50% intelligence. 50% copy-pasting. And 50%: "Huh. Didn't think that would work"
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

TableWidget modal not opening
FilamentFFilament / ❓┊help
3y ago
Action modal not opening
FilamentFFilament / ❓┊help
3y ago
relationship manager
FilamentFFilament / ❓┊help
2y ago
Relationship Manager: Open in same window (non-modal)
FilamentFFilament / ❓┊help
2y ago