Question about custom item types #14
Replies: 4 comments 1 reply
-
@titantwentyone Could you share the code that you're trying please? |
Beta Was this translation helpful? Give feedback.
-
The same example used in the docs. I found that if you remove |
Beta Was this translation helpful? Give feedback.
-
Okay, scratch that. I created a new navigation, and no resources work. I get the Alpine error, Ran updates on composer and npm, flushed everything, etc... |
Beta Was this translation helpful? Give feedback.
-
Okay. This is likely an incompatibility with latest Filament releases. I'll have to take some time to look into it. Sorry! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the package! I was wanting to integrate this with a
Post
model however I am little unclear on how this is achieved, I've assumed thatFilamentNavigation::addItemType
is to be used in theboot
method of myAppServiceProvider
. This gets me so far but I get console errors using the example in the docs:Alpine Expression Error: Cannot read properties of null (reading 'post_id')
I'm unsure what
post_id
refers to here in terms of my model (if anything - I assume this used to populate the filed name withindata
), which, for simplicity's sake, just hasid
,title
andcontent
. (I triedid
as well with the same result.). Is there another step needed?Beta Was this translation helpful? Give feedback.
All reactions