From 3f92e709358aba90aa504b8f68cb19fda1fb966d Mon Sep 17 00:00:00 2001 From: aalexandr21 Date: Thu, 28 Nov 2024 11:07:39 +0200 Subject: [PATCH] FIX: Issue with input mask https://github.com/Crocoblock/issues-tracker/issues/13198 --- modules/blocks-v2/text-field/block-asset.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/blocks-v2/text-field/block-asset.php b/modules/blocks-v2/text-field/block-asset.php index be994a43e..06a3806d6 100644 --- a/modules/blocks-v2/text-field/block-asset.php +++ b/modules/blocks-v2/text-field/block-asset.php @@ -60,6 +60,7 @@ public function register_frontend_assets() { $asset_mask = require_once $blocks_v2->get_dir( 'text-field/assets/build/frontend/field.mask.asset.php' ); + $asset_mask['dependencies'][] = LegacyBlocksModule::MAIN_SCRIPT_HANDLE; $asset_mask['dependencies'][] = 'jet-form-builder-inputmask'; wp_register_script(