@Marine.Hovhannisyan You should be able to reload only the block => Refresh / Reload data in a List Block - #5 by artur
Though some blocks may not be ready yet for this new function (specifically the table block).
On form submit the code would look like this. form1
and list1
to be changed with your block IDs -
Code to be inserted in the custom code footer of the page.
<script>
window.addEventListener('block-loaded-form1', () => {
window.addEventListener('submit-form-success-form1', () => {
window.dispatchEvent(new CustomEvent('reload-block-list1'));
});
});
</script>