Skip to content

[Bug]: Adding an item in navigation create and edit forms throws TypeError #242

@Nich-0-Las

Description

@Nich-0-Las

What happened?

In the Create or Edit Navigation form, when I click on the Add Item button, instead of opening the modal form, I get the following TypeError:

LaraZeus\Sky\Filament\Resources\NavigationResource\Pages\CreateNavigation::{closure:LaraZeus\Sky\Filament\Resources\NavigationResource\Pages\Concerns\HandlesNavigationBuilder::getActions():128}(): Argument #1 ($component) must be of type Livewire\Component

How to reproduce the bug

  1. Visit /admin/navigations/create or /admin/navigations/{id}
  2. Click on Add Item button

Package Version

4.0.1

PHP Version

8.4.1

Laravel Version

v12.28.1

Which operating systems does with happen with?

Linux

Notes

Filament Version
v4.0.17

Database
10.11.13-MariaDB

This is a fresh installation and I haven't made any modifications to my code base. It's my first time using this package, but I'm able to add an item in the demo site.
I'm not sure if this is a bug in the code, or that I'm not implementing this package correctly.
Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions