Relation manager, CreateAction modal: Livewire Exception

Laravel: 12.34.0 Filament: 4.1.8 I have CreateAction of relation manager that works on modal.
// RelationManager
public function table(Table $table): Table
{
return XXXTable::configure($table)
->headerActions([
CreateAction::make()
])
->filters([])
->recordActions([])
->toolbarActions([]);
}

public function form(Schema $schema): Schema
{
return XXXForm::configure($schema);
}

// Resource

public static function getPages(): array
{
return [
'index' => XXXDelegations::route('/'),
];
}
// RelationManager
public function table(Table $table): Table
{
return XXXTable::configure($table)
->headerActions([
CreateAction::make()
])
->filters([])
->recordActions([])
->toolbarActions([]);
}

public function form(Schema $schema): Schema
{
return XXXForm::configure($schema);
}

// Resource

public static function getPages(): array
{
return [
'index' => XXXDelegations::route('/'),
];
}
I get: Livewire\Exceptions\RootTagMissingFromViewException Livewire encountered a missing root tag when trying to render a component. When rendering a Blade view, make sure it contains a root HTML tag. Is this a bug? How to solve?
4 Replies
Dennis Koch
Dennis Koch2mo ago
This only happens after clicking the CreateAction?
galli.roberto
galli.robertoOP4w ago
yep, I have tried only create
Dennis Koch
Dennis Koch4w ago
Hm. Very weird. Did you overwrite any view page? Any custom code here?
LeandroFerreira
Could you create a minimal repo on Github to reproduce this issue?

Did you find this page helpful?