Refresh after Update record

Is it a bug for the List-detail block (list-with-deletable-elements-vertical-cards)
to not refresh after Update record?

Really would prefer to not use the refresh hacks I see out there.

Also has anyone customised the Update record as it is really basic looking.

It should be a bug let us check it. Any chance @cooper you can share a loom video ?

Hey @cooper,

Just informing that the team is checking, will keep you posted once having an update.

Artur, loom here ➤

Hi Cooper,
You can use this custom code to force the page to reload after you submitted the edit action from the edit modal.
Not the best pattern using this (@dcoletta right?) and waiting @artur for a solution but it should work!

Insert this code in the footer - at page level

<script type="text/javascript">
$( window ).on( "load" , function() {
    setTimeout(function() {
    var buttons = document.getElementsByClassName('modal__btn modal__btn-primary');
    var numButtons = buttons.length;
function refresh() {
for (var i = 0; i < numButtons; i++) {
  buttons[i].addEventListener('click', refresh, false);
}, 4000);

Perfect, thank you :man_bowing:

PS Had not realised there is a modal for each item! added this to the script to change modal title.

 e.innerHTML='Remove from dashboard';

Thanks! Didn’t see it either!

1 Like


We have found the issue.

You have setup “delete record” workaround, and we have not considered this use case in our implementation.

The team will surely fix it, will keep you posted once the update is available.

Sorry for the inconvenience.

1 Like