oculorum
oculorum
FFilament
Created by oculorum on 4/21/2025 in #❓┊help
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
FFilament
Created by oculorum on 4/14/2025 in #❓┊help
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?
livewire.js?id=5d8beb2e:4192
POST http://localhost/livewire/update net::ERR_CONNECTION_RESET
sendRequest @ livewire.js?id=5d8beb2e:4192
send @ livewire.js?id=5d8beb2e:3958
(anonymous) @ livewire.js?id=5d8beb2e:4103
createAndSendNewPool @ livewire.js?id=5d8beb2e:4099
(anonymous) @ livewire.js?id=5d8beb2e:4075
(anonymous) @ livewire.js?id=5d8beb2e:4138
setTimeout
bufferPoolingForFiveMs @ livewire.js?id=5d8beb2e:4137
add @ livewire.js?id=5d8beb2e:4072
requestCall @ livewire.js?id=5d8beb2e:4154
(anonymous) @ livewire.js?id=5d8beb2e:4405
runIfTypeOfFunction @ livewire.js?id=5d8beb2e:1279
(anonymous) @ livewire.js?id=5d8beb2e:1267
tryCatch @ livewire.js?id=5d8beb2e:1185
evaluate @ livewire.js?id=5d8beb2e:1209
(anonymous) @ livewire.js?id=5d8beb2e:9071
callAndClearComponentDebounces @ livewire.js?id=5d8beb2e:9056
execute @ livewire.js?id=5d8beb2e:9070
x-on:submit.prevent @ livewire.js?id=5d8beb2e:9081
(anonymous) @ livewire.js?id=5d8beb2e:1229
tryCatch @ livewire.js?id=5d8beb2e:1185
(anonymous) @ livewire.js?id=5d8beb2e:3779
handler4 @ livewire.js?id=5d8beb2e:3106
(anonymous) @ livewire.js?id=5d8beb2e:3134
(anonymous) @ livewire.js?id=5d8beb2e:3108
(anonymous) @ livewire.js?id=5d8beb2e:3171
(anonymous) @ livewire.js?id=5d8beb2e:3108
livewire.js?id=5d8beb2e:4192
POST http://localhost/livewire/update net::ERR_CONNECTION_RESET
sendRequest @ livewire.js?id=5d8beb2e:4192
send @ livewire.js?id=5d8beb2e:3958
(anonymous) @ livewire.js?id=5d8beb2e:4103
createAndSendNewPool @ livewire.js?id=5d8beb2e:4099
(anonymous) @ livewire.js?id=5d8beb2e:4075
(anonymous) @ livewire.js?id=5d8beb2e:4138
setTimeout
bufferPoolingForFiveMs @ livewire.js?id=5d8beb2e:4137
add @ livewire.js?id=5d8beb2e:4072
requestCall @ livewire.js?id=5d8beb2e:4154
(anonymous) @ livewire.js?id=5d8beb2e:4405
runIfTypeOfFunction @ livewire.js?id=5d8beb2e:1279
(anonymous) @ livewire.js?id=5d8beb2e:1267
tryCatch @ livewire.js?id=5d8beb2e:1185
evaluate @ livewire.js?id=5d8beb2e:1209
(anonymous) @ livewire.js?id=5d8beb2e:9071
callAndClearComponentDebounces @ livewire.js?id=5d8beb2e:9056
execute @ livewire.js?id=5d8beb2e:9070
x-on:submit.prevent @ livewire.js?id=5d8beb2e:9081
(anonymous) @ livewire.js?id=5d8beb2e:1229
tryCatch @ livewire.js?id=5d8beb2e:1185
(anonymous) @ livewire.js?id=5d8beb2e:3779
handler4 @ livewire.js?id=5d8beb2e:3106
(anonymous) @ livewire.js?id=5d8beb2e:3134
(anonymous) @ livewire.js?id=5d8beb2e:3108
(anonymous) @ livewire.js?id=5d8beb2e:3171
(anonymous) @ livewire.js?id=5d8beb2e:3108
16 replies