oculorum
Problem with Viewing Related Records in RelationManager
I’m experiencing an issue with displaying the preview of a record from the list rendered by the RelationManager component in my application. My goal is to have a view that shows both the main record’s details and a list of related records. To achieve this, I used the ViewRecord component for the main record and RelationManager for the related entries. I embedded everything into a Blade template, passing the appropriate view to ViewRecord (using the
$view
variable).
The basic functionality works correctly—I can see both the main record’s details and the list of related entries. However, the problem arises when I try to preview one of the related records from the RelationManager’s list. When I click the preview icon, a loading spinner appears, but nothing else happens—the preview modal does not open. Additionally, if there are multiple entries in the list, clicking the preview icon for one record causes the loading spinner to appear for all entries, and the eye icon disappears everywhere.
Has anyone encountered a similar issue or has any ideas on how to resolve this? I’m wondering if the problem might be related to how the components are embedded in the Blade template, a JavaScript conflict, or improper state handling for the preview modals. Any suggestions or guidance would be greatly appreciated!5 replies
Problem with Filament and Livewire - no data saving, console error
Hi, I have a problem. I’m using Filament and Livewire, and suddenly my application stopped working when it comes to saving data. Whenever I try to access any resource and save it, nothing happens, and I see an error in the console. Everything was working fine before. Can you help me figure out what might be causing this issue? How can I diagnose the problem effectively?
16 replies