Summer Sale! All accounts are 50% off this week.

silveira's avatar

silveira started a new conversation+100 XP

5mos ago

Error After update to livewire 4 Livewire\Exceptions\RootTagMissingFromViewException vendor/livewire/livewire/src/Drawer/Utils.php:20

after i update my project to livewire 4 i am getting this error when i am trying run some action in my component.

I am using filament v5 table and his action

here is my code

//... existing code
            ->recordActions([
                Action::make('delete')
                    ->label('Excluir')
                    ->icon('heroicon-o-trash')
                    ->color('danger')
                    ->requiresConfirmation()
                    ->action(fn (Inventory $inventory): bool|null => $inventory->delete()),
            ])

my view


<section class="container mx-auto p-4">
    <x-heading
        :heading="__('Inventory')"
        :subheading="__('Manage your inventory items')"
    />

    {{ $this->table }}
</section>