From 4e0dddd4d0838d37cdf23aa9467bb84fd9aa886c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Mon, 3 Feb 2025 14:54:46 +0100 Subject: [PATCH] IBX-8114: Cannot clear input data on create new field type matrix form --- .../Resources/public/js/scripts/admin.contenttype.matrix.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bundle/Resources/public/js/scripts/admin.contenttype.matrix.js b/src/bundle/Resources/public/js/scripts/admin.contenttype.matrix.js index 98dcddd..e035e80 100644 --- a/src/bundle/Resources/public/js/scripts/admin.contenttype.matrix.js +++ b/src/bundle/Resources/public/js/scripts/admin.contenttype.matrix.js @@ -38,6 +38,7 @@ initColumns(settingsNode); node.closest('.ibexa-table').dispatchEvent(new CustomEvent('ibexa-refresh-main-table-checkbox')); + doc.body.dispatchEvent(new CustomEvent('ibexa-inputs:added')); }; const removeItems = (event) => { const settingsNode = event.target.closest(SELECTOR_SETTINGS_COLUMNS);