Jakub
how to access current state of repeater item?
https://filamentphp.com/docs/3.x/infolists/entries/repeatable
On the docs it has example of
If I wanted to mutate the title for example, how would I do that?
When i do ->state and than dd record, it gives me the parent information
So in this case if a post has comments, it shows me post.
I want to access the specific comment?
6 replies
Refreshing ParentResource Infolist when adding records in RelationManager table
What I want to do
When I add a new record on a table that is added via relation manager. I want the parent resource data to update and reflect the new changes.
I have a PhoneMembership->balance() calculcator on the infolist, that i would like to get updated without manually refreshing the page each time.
Right now, after a new record is added to the table. I would need to manually refresh the page for the new balance to show up.
First I tried doing this approach that I found here
https://discord.com/channels/883083792112300104/1209193801386827776
Next I tried to do
https://discord.com/channels/883083792112300104/1103674797537366167
On the
ViewPhoneMembership
I added
I get this error for BadMethodCallException7 replies
accessing auth user in panel builder to make custom navigation
I am trying to generate a custom dashboard navigation for users based on the projects they have. So it's quick access from the sidebar. Or if they have pinned tasks ect.
In the panel provider I added
I keep getting error
When I just do
Project::all()
it does generate the items correctly.7 replies
custom pages not being detected
Following these docs: https://filamentphp.com/docs/3.x/panels/resources/custom-pages
I was able to make everything work on Project A so I understand I need to add them to
getPages()
, i created an extra settings one just to make sure im not hallucinating and I did get it working
Project A - AdminPanelProvider
Project B - ManagePanelProvider
The only difference that I can see is that I did not use admin, but the word manage.
54 replies
$form markdown editor is broken after 1 submit
https://gyazo.com/8805cbf893d6760427e45cfdc7dbb371
This is how the blade view looks
I am not doing anything out of the ordinary aside from styling the editor with
But even when I don't have these classes, it still breaks.
Any thoughts on what might be the issue?
2 replies
slide-over direction
I am using the modal blade component
https://filamentphp.com/docs/3.x/support/blade-components/modal#using-a-slide-over-instead-of-a-modal
Not seeing anything in the docs if i want to switch the direction from right, to be on the left side.
Is it possible, and jsut not documented in the docs?
6 replies