I have a page “My Yacht Charter” with an Item Details block connected to my Deals table, using Record ID from URL. I also have a Custom Code block on the same page that listens to the softr:get-record-item-details event to display dynamic data (yacht photo, client name, payment status, etc.).
The event listener is set up correctly but the data is not being received by the custom block. The block renders but all dynamic fields are empty.
My code:
javascript
window.addEventListener('softr:get-record-item-details', function(event) {
console.log('Event received', event.detail);
});
The console never logs anything. Is this event still supported? Is there a timing issue or a different event name I should use?