MrHex
Many to many relations with extra pivot field using Repeaters
Hi, I have a
User
model and a Course
model
there is also a course_user
table with
user_id
, course_id
and type
fields.
Relation from the Course
model is:
Now i want to use this relation in a Repeater but the fields does not fill correctly.5 replies
Issues with Registering Panels in FilamentPHP: Seeking Help and Insights
Hello everyone,
I'm currently working on a package that adds modular functionality to Filament and allows loading panels from custom paths. However, I've encountered an issue. When I attempt to register a new panel in Filament, it doesn't seem to have any effect. There are no errors or warnings, but no panels are being displayed.
I tried loading my ServiceProvider before the Filament ServiceProvider or registering it using AppServiceProvider, and it works perfectly. However, when it's loaded using Laravel's auto-discovery feature, it doesn't work.
Any insights or suggestions on how to resolve this would be greatly appreciated.
1 replies
Image upload in relations
I Have a
User
model with a PersonalInfo
relation:
in the PersonalInfo
we have an avatar_id
column that references to File
model:
now i just made a PersonalInfoRelationManager
to manage the relation from the UserResource
and used the FileUpload form input like this:
the upload process is fine but when i re-open to modal, image doesn't shown to me... 😦
How can I fix this issue?38 replies